I'm building an iOS app which among other things, sends data to a PHP server.
I have problems with accented characters like in the string jeremyö
which when sent from:
- iOS (using ASIHTTPRequest) is detected by PHP var_dump as
string(7) "jeremyö"
- from Firefox or Chrome is detected by PHP var_dump as
string(8) "jeremyö"
When used as a login, this breaks all my stuff.
Do you have any hint on how I can work around this behavior?
PHP part is UTF-8 only (Drupal 7 backend), and I don't know the encoding used on iOS, but I guess it's UTF-8 or maybe UTF-16.
Thanks, Jérémy