I am building an HTML5 app that works with iPhone and Android. When I display text in this form:
"the number is between 10%-15% 2. the number between 25%-35% 3.the number between 25%-35%...."
In Android I see it as entered correctly, but in iPhone I see this
"the number is between 10%-15 2.%"
Any ideas how to fix it?
You have not given us a lot to go on but I would investigate the possibility that the encoding of the text is not compatible with iOS (is the file UTF-8 encoded for example). The other possible issue is that the text you display above is being treated as URL encoded.
Read here:
UTF-8 vs. Unicode
What are the characters that stringByAddingPercentEscapesUsingEncoding escapes?