iOS Question webview with unicode characters

le_toubib

Active Member
Licensed User
Longtime User
hi all
i m loading a local html file into a webview, and it works fine.
But ,
the html file contains english and arabic text (html is dynamicly generated), the english text is showing normally but the arabic letters are not.
i wonder what am i missing?
 

Pendrush

Well-Known Member
Licensed User
Longtime User
HTML:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
or
HTML:
<meta charset="utf-8" />

Try to add meta tag inside head tag, as in example above.
 
Upvote 0
Top