Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Encoding of getCity()? #12

Open
jroedel opened this issue Dec 13, 2016 · 0 comments
Open

Encoding of getCity()? #12

jroedel opened this issue Dec 13, 2016 · 0 comments

Comments

@jroedel
Copy link

jroedel commented Dec 13, 2016

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant