Is UFT8 or UTF16 better for handling multilanguage and specifically Chinese?

I need this help for converting my software to support global multilangauage.

3 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    UTF16 is better for multilanguage, especially the Chinese language, as the codes are 16 bit codes. UTF8 only has 8 bits for the code. What this equates to is.

    2 ^ 8 = 256 characters can be supported.

    2 ^ 16 = 65, 536 characters can be supported.

    There is a new UTF32, but I do not think it is supported well. Meaning, the characters may not display (show) when people look at the page.

    2 ^ 32 = 4,294,967,300 characters can be supported.

  • 1 decade ago

    UTF16 gives you the largest possible collections for character sets, but utf8 has plenty and is more standard. Keep in mind that UTF16 will take twice as much space per character as UTF8, and that means a big hit on your data storage space. Usually, then, UTF8 is sufficient, even for Chinese.

  • Anonymous
    1 decade ago

    Ithink 16 is but I am not 100% sure

Still have questions? Get your answers by asking now.