I have a shipping module I wrote that's working fine except when there's special characters in the data sent.
Here in Quebec, there's a lot of names, streets, and cities with apostrophes and accents in their names. For example, the apostrophes are being sent as '
I tried wrapping the field in html_entity_decode(), but it doesn't change anything. Is there something I'm missing?
From my code:
Ideally, Zencart would switch to having everything in utf-8. I'm considering converting my site, but I want to make my module available and don't want to expect everyone else that uses it to have to convert.Code:"City" => html_entity_decode($this->dest_city),
Is there some other way to save and output the characters properly?



