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