
Frank Herget - 2010-01-24 13:27:20
First of all thanks for this class, just a small update here, as it returns 0 on german umlaut addresses.
function setcode($address = '', $city = '', $country = '', $zip = '') {
$this->address = htmlspecialchars($address, ENT_QUOTES,'utf-8');
$this->city = htmlspecialchars($city, ENT_QUOTES,'utf-8');
$this->country = htmlspecialchars($country, ENT_QUOTES,'utf-8');
$this->zip = $zip;
}
with this fix, you can use things like Münchener Str. etc.