|
Description
|
This is from xxxxx , a Java licensee.
The xxxxx bug number is 761511.
This bug occurs with JDK 1.1.7B and JDK1.2. Please examine it ASAP.
The Croatian file.encoding property is Cp1252 in JDK1.1.7. Cp1252 is a Latin1
code page and Croatian is a Latin2 language. The file.encoding should be
Cp1250. The file.encoding is a Java system property and can be viewed via
System.getProperty("file.encoding"). This encoding is still a problem in JDK1.2FCS.
To fix this problem, the encoding_names section should be
changed in locale_str.h file to:
static char *encoding_names[] = {
"ar", "Cp1256",
"be", "Cp1251",
"bg", "Cp1251",
"cs", "Cp1250",
"el", "Cp1253",
"et", "Cp1257",
"iw", "Cp1255",
"hr", "Cp1250", /*Added for missing Croatian support*/
"hu", "Cp1250",
"ja", "MS932",
"ko", "MS949",
"lt", "Cp1257",
"lv", "Cp1257",
"mk", "Cp1251",
"pl", "Cp1250",
"ro", "Cp1250",
"ru", "Cp1251",
"sh", "Cp1250",
"sk", "Cp1250",
"sl", "Cp1250",
"sq", "Cp1250",
"sr", "Cp1251",
"th", "MS874",
"tr", "Cp1254",
"uk", "Cp1251",
"vn", "Cp1258", /*Added for missing Vietnamese support*/
"zh", "GBK",
"zh_TW", "MS950",
"",
};
(Review ID: 55713)
======================================================================
|