Add TIS-620 charset support. Thanks to Samphan Raruenrom <samphan@thai.com>

for providing the patch.
This commit is contained in:
ramiro%netscape.com 1998-09-28 20:09:23 +00:00
Родитель 0f4c4c40f4
Коммит 56dec1233f
6 изменённых файлов: 17 добавлений и 2 удалений

Просмотреть файл

@ -1256,6 +1256,7 @@ Change character encoding of the current page
*armscii-8EncCmdString: Armenian (ArmSCII-8)
*iso-8859-7EncCmdString: Greek (ISO-8859-7)
*windows-1253EncCmdString: Greek (Windows-1253)
*tis-620EncCmdString: Thai (TIS-620)
*iso-8859-9EncCmdString: Turkish (ISO-8859-9)
*UTF-8EncCmdString: Unicode (UTF-8)
*UTF-7EncCmdString: Unicode (UTF-7)
@ -4651,6 +4652,7 @@ from the network, or save to a file and then play from the file?
*documentFonts.charsetlang*windows-1251: Cyrillic
*documentFonts.charsetlang*koi8-u: Ukrainian
*documentFonts.charsetlang*ks_c_5601-1987: Korean
*documentFonts.charsetlang*tis-620: Thai
*documentFonts.charsetlang*x-cns11643-1110: Traditional Chinese
*documentFonts.charsetlang*x-cns11643-1: Traditional Chinese
*documentFonts.charsetlang*x-cns11643-2: Traditional Chinese
@ -4795,8 +4797,11 @@ from the network, or save to a file and then play from the file?
*documentFonts.charset*sunolglyph-1: x-ignore
*documentFonts.charset*symbol.adobe-fontspecific: x-ignore
*documentFonts.charset*symbol.sun-fontspecific: x-ignore
*documentFonts.charset*tis620.2533-1: x-ignore
*documentFonts.charset*tis620.2529-1: x-tis620
*documentFonts.charset*tis620-0: tis-620
*documentFonts.charset*tis620-1: tis-620
*documentFonts.charset*tis620-2: tis-620
*documentFonts.charset*tis620.2533-0: tis-620
*documentFonts.charset*tis620.2529-1: tis-620
*documentFonts.charset*ucs2.cjk-rest: x-ignore
*documentFonts.charset*ucs2.cns11643.1986-1: x-ignore
*documentFonts.charset*ucs2.cns11643.1986-2: x-ignore

Просмотреть файл

@ -93,6 +93,8 @@ MenuSpec XFE_BrowserFrame::encoding_menu_spec[] = {
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_8859_9 },
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_TIS620 },
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_UTF8 },
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_UTF7 },
MENU_SEPARATOR,

Просмотреть файл

@ -90,6 +90,8 @@ MenuSpec XFE_ComposeFrame::encoding_menu_spec[] = {
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_8859_9 },
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_TIS620 },
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_UTF8 },
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_UTF7 },
MENU_SEPARATOR,

Просмотреть файл

@ -83,6 +83,8 @@ MenuSpec XFE_EditorFrame::encoding_menu_spec[] = {
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_8859_9 },
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_TIS620 },
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_UTF8 },
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_UTF7 },
MENU_SEPARATOR,

Просмотреть файл

@ -79,6 +79,8 @@ MenuSpec XFE_MsgFrame::encoding_menu_spec[] = {
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_8859_9 },
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_TIS620 },
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_UTF8 },
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_UTF7 },
MENU_SEPARATOR,

Просмотреть файл

@ -106,6 +106,8 @@ MenuSpec XFE_ThreadFrame::encoding_menu_spec[] = {
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_8859_9 },
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_TIS620 },
MENU_SEPARATOR,
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_UTF8 },
{ xfeCmdChangeDocumentEncoding, TOGGLEBUTTON, NULL, "EncodingRadioGroup", False, (void*)CS_UTF7 },
MENU_SEPARATOR,