1

My website is going to support multi languages , as of now english , french, chinese..

So i used the charset charset=iso-8859-1 but the chinese character are rendered, then i changed them to charset=UTF-8 but the accent character in french are not displayed.

What's the best charset definition for multilingual websites?

And what's the best in my case?

Vijay
  • 5,331
  • 10
  • 54
  • 88

1 Answers1

3

Use UTF-8 unless your primary content is targeted at Asia, in which case use UTF-16. (They contain the same set of characters, but -8 is generally more efficient for Western characters and -16 for Eastern characters)

You have to make sure the data is encoded in the encoding you specify. Just telling a web server to claim that the data is UTF-8 is not enough.

See also:

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
  • 1
    While UTF-16 is smaller than UTF-8 for *plain text* files in Asian languages, HTML documents will have a disproportionately high number of ASCII characters because of all the tags and attributes. – dan04 Apr 01 '11 at 04:08