Special characters ignored on Android
I have built a booking frontend for mobile plattforms in jQuery-mobile.
It all works well both in the browser and on the iPhone, on an Android phone however it completely ignores the swedish special characters Å,Ä,Ö. When these characters are pressed it does not even trigger th keyDown event. All other characters work including *¨^ etc.The system is run on a IIS7 but it has also been tested on IIS6 with same result. I have tried to strip down all my code and just show the input box but the error is still there. It seems to work well on a apache server.
Does anyone have a clu开发者_如何转开发e what could cause this or a workaround for the situation?
Just tested with other browsers on Android and all works, its only the built-in browser that has the problem
I would look into setting the charset:
- http://www.w3schools.com/html5/tag_meta.asp
- http://en.wikipedia.org/wiki/ISO/IEC_8859-1
Maybe:
- iso-8859-1
- utf-8
My problems with encoding on android required me to define a charset=utf8
header for a CGI fetched by AJAX.
By definition AJAX was always utf-8 but it turns out to be misinterpreted to be ISO-something on android.
The site I called the AJAX from was also in utf8
精彩评论