Pablo Cabana
5 Jul 2010, 2:22 PM
What is the best way to set the encoding to a iphone web/app made with senchatouch to show latin characters?
I´ve already tried a lot of combinations.
The best was using this on my index.html file:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<script type="text/javascript" src="ext-touch.js" charset="utf-8"></script>
It works well on desktop safari.
But when I go on an iphone, it shows those square <?> symbols.
And when the app shows any alert() message, it doesnt work at all. Neither desktop, neither iphone safari.
Any tip?
I´ve already tried a lot of combinations.
The best was using this on my index.html file:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<script type="text/javascript" src="ext-touch.js" charset="utf-8"></script>
It works well on desktop safari.
But when I go on an iphone, it shows those square <?> symbols.
And when the app shows any alert() message, it doesnt work at all. Neither desktop, neither iphone safari.
Any tip?