What character encoding should I use for a web page containing mostly Arabic text? Is utf-8 okay?

UTF-8 can store the full Unicode range, so it’s fine to use for Arabic. However, if you were wondering what encoding would be most efficient: All Arabic characters can be encoded using a single UTF-16 code unit (2 bytes), but they may take either 2 or 3 UTF-8 code units (1 byte each), so if … Read more

How to support Arabic text in Android?

Android 2.1 does not have Arabic font. Android 2.2 has Arabic font but does not show your word correctly. Android 3.x supports Arabic completely. For Android 2.1 you must set the typeface Farsi.GetFarsiFont(this) and then use Farsi.Convert(“سلام”) For Android 2.2 you do not need setting font but must use Farsi.Convert(“سلام”) And for Android 3.x forget … Read more