ZfSnapGeoip icon indicating copy to clipboard operation
ZfSnapGeoip copied to clipboard

Encoding of getCity()?

Open jroedel opened this issue 8 years ago • 0 comments

Hi there, I often get unrecognized characters out of the getCity() function. I have tried reencoding it to UTF-8 using mb_convert_encoding($geo->getCity(),"UTF-8","auto"), but that sometimes generates this warning: Warning: mb_convert_encoding(): Unable to detect character encoding in ...

Maybe if you know the encoding of the string I can reencode it more exactly... Any ideas?

jroedel avatar Dec 13 '16 20:12 jroedel