add Unicode conversion table for Thai

This commit is contained in:
ftang%netscape.com 1998-08-01 08:46:02 +00:00
Родитель 456cd4f98b
Коммит c8a6e25205
1 изменённых файлов: 13 добавлений и 0 удалений

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

@ -309,6 +309,14 @@ PRIVATE uint16 DingbatsToTbl[] = {
#include "macdingb.ut"
};
/*--------------------------------------------------------------------------*/
/* Thai */
PRIVATE uint16 TIS620FromTbl[] = {
#include "cp874.uf" /* use cp874 untill we have real TIS 620 table */
};
PRIVATE uint16 TIS620ToTbl[] = {
#include "cp874.ut" /* use cp874 untill we have real TIS 620 table */
};
/*--------------------------------------------------------------------------*/
PRIVATE uTable* LoadToUCS2Table(uint16 csid)
{
switch(csid) {
@ -386,6 +394,8 @@ PRIVATE uTable* LoadToUCS2Table(uint16 csid)
case CS_UCS2:
return (uTable*) Ucs2Tbl;
case CS_TIS620:
return (uTable*) TIS620ToTbl;
/* Other Stuff */
default:
XP_ASSERT(TRUE);
@ -470,6 +480,9 @@ PRIVATE uTable* LoadFromUCS2Table(uint16 csid)
case CS_UCS2:
return (uTable*) Ucs2Tbl;
case CS_TIS620:
return (uTable*) TIS620FromTbl;
/* Other Stuff */
default:
XP_ASSERT(TRUE);