Bug 202009 (AIX) Some Japanese characters in UTF-8 document display as ? Authors=hhoetzel@us.ibm.com, Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=roc+moz

This commit is contained in:
smontagu%netscape.com 2003-04-22 18:58:59 +00:00
parent aa543568ce
commit 1ec1871875
3 changed files with 16 additions and 6 deletions

View File

@ -541,9 +541,12 @@ static nsFontCharSetMap gCharSetMap[] =
{ "tis620.2533-1", &FLG_THAI, &TIS620 },
{ "tis620-0", &FLG_THAI, &TIS620 },
{ "iso8859-11", &FLG_THAI, &TIS620 },
{ "ucs2.cjk-0", &FLG_NONE, &Unknown },
{ "ucs2.cjk_japan-0", &FLG_NONE, &Unknown },
{ "ucs2.cjk_taiwan-0", &FLG_NONE, &Unknown },
{ "ucs2.cjk-0", &FLG_NONE, &ISO106461 },
{ "ucs2.cjk_china-0", &FLG_ZHCN, &ISO106461 },
{ "ucs2.cjk_japan-0", &FLG_JA, &ISO106461 },
{ "ucs2.cjk_korea-0", &FLG_KO, &ISO106461 },
{ "ucs2.cjk_taiwan-0", &FLG_ZHTW, &ISO106461 },
{ "ucs2.thai-0", &FLG_THAI, &ISO106461 },
#ifdef SUNCTL
{ "sun.unicode.india-0",&FLG_INDIC, &SunIndic },
#endif /* SUNCTL */

View File

@ -609,9 +609,12 @@ static const nsFontCharSetMapXlib gConstCharSetMap[] =
{ "tis620.2533-1", &FLG_THAI, &TIS620 },
{ "tis620-0", &FLG_THAI, &TIS620 },
{ "iso8859-11", &FLG_THAI, &TIS620 },
{ "ucs2.cjk-0", &FLG_NONE, &Unknown },
{ "ucs2.cjk_japan-0", &FLG_NONE, &Unknown },
{ "ucs2.cjk_taiwan-0", &FLG_NONE, &Unknown },
{ "ucs2.cjk-0", &FLG_NONE, &ISO106461 },
{ "ucs2.cjk_china-0", &FLG_ZHCN, &ISO106461 },
{ "ucs2.cjk_japan-0", &FLG_JA, &ISO106461 },
{ "ucs2.cjk_korea-0", &FLG_KO, &ISO106461 },
{ "ucs2.cjk_taiwan-0", &FLG_ZHTW, &ISO106461 },
{ "ucs2.thai-0", &FLG_THAI, &ISO106461 },
#ifdef SUNCTL
{ "sun.unicode.india-0",&FLG_INDIC, &SunIndic },
#endif /* SUNCTL */

View File

@ -49,3 +49,7 @@ pref("font.name.serif.x-cyrillic", "dt-interface system-iso8859-5");
pref("font.name.sans-serif.x-cyrillic", "dt-interface system-iso8859-5");
pref("font.name.monospace.x-cyrillic", "dt-interface user-iso8859-5");
// Override default Unicode fonts
pref("font.name.serif.x-unicode", "dt-interface system-ucs2.cjk_japan-0");
pref("font.name.sans-serif.x-unicode", "dt-interface system-ucs2.cjk_japan-0");
pref("font.name.monospace.x-unicode", "dt-interface user-ucs2.cjk_japan-0");