Sunday 2 December 2018

Arabic Text in html coming as question marks in blackberry webview

I m basically an iOS developer and now i m doing blackberry development and i need to show a html string having arabic characters inside a webview(browser) in BB. But it is displaying as question marks in webview for all arabic characters.



below is the html string,









جمهورية فنزويلا البوليفارية

للمواطنين القطريين الراغبين بالسفر إلى فنزويلا

يحتاج حاملو الجوازات الدبلوماسية أو الخاصة أو العادية إلى تأشيرة دخول إلى فنزويلا
يجب إصدار التأشيرة من أقرب سفارة تابعة لفنزويلا

لمواطني فنزويلا الراغبين بالسفر إلى قطر

يحتاج حاملو الجوازات الدبلوماسية أو العادية إلى تأشيرة دخول إلى دولة قطر
يجب إصدار التأشيرة من أقرب سفارة تابعة لدولة قطر



In the "meta" i have tried both
meta http-equiv="content-type" content="text/html; charset=UTF-8 and meta charset="ISO-8859-1 but still no success.. Any suggestions please...Thanks

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...