c6570d1dc3
It makes compatible with IANA charset defination, and let existent I18N app happier. Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets>
Locale name string format must be compliant with XPG3 and using following format. <locale name> ::= <language>_<territory>.<encoding> <language> ::= based on ISO 639 <territory> ::= based on ISO 3166 (country code) <encoding> ::= "EUC", "KOI8-R", ...