diff options
author | Stephan Bergmann <sb@openoffice.org> | 2002-03-18 13:43:42 +0000 |
---|---|---|
committer | Stephan Bergmann <sb@openoffice.org> | 2002-03-18 13:43:42 +0000 |
commit | 5fc35a3048250fef9cf2ae9fecfcd38dc7566c2a (patch) | |
tree | cfb8af39cf9fa8272abcb39211c70f54b04b0fc3 /sal/textenc/tcvteas1.tab | |
parent | 45bb60ae8f652b29b0eaed4f7328165d08698467 (diff) |
#98208# Added RTL_TEXTENCODING_TIS_620.
Diffstat (limited to 'sal/textenc/tcvteas1.tab')
-rw-r--r-- | sal/textenc/tcvteas1.tab | 56 |
1 files changed, 54 insertions, 2 deletions
diff --git a/sal/textenc/tcvteas1.tab b/sal/textenc/tcvteas1.tab index b939c0fa0cb3..1c5313ded8d1 100644 --- a/sal/textenc/tcvteas1.tab +++ b/sal/textenc/tcvteas1.tab @@ -2,9 +2,9 @@ * * $RCSfile: tcvteas1.tab,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: sb $ $Date: 2001-10-12 10:44:53 $ + * last change: $Author: sb $ $Date: 2002-03-18 14:43:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -177,6 +177,58 @@ static ImplTextEncodingData const aImplMS874TextEncodingData /* ======================================================================= */ +/* TIS 620-2533 + * + * A good source of information is <http://www.inet.co.th/cyberclub/trin/ + * thairef/index.html> as of 18 Mar 2002. + * + * Single byte encoding, from which MS874 is derived (although it is the other + * way around in this implementation): + * + * 0x00--9F map to U+0000--009F + * 0xA0 is questionable (unassigned or U+00A0 NO BREAK SPACE), to ease + * implementation, it maps to U+00A0 + * 0xA1--DA map to U+0E01--0E3A (TIS 620, same for MS874) + * 0xDB--DE are unassigned (TIS 620, same for MS874) + * 0xDF--FB map to U+0E3F--0E5B (TIS 620, same for MS874) + * 0xFC--FF are unassigned (TIS 620, same for MS874) + */ + +static ImplByteConvertData const aImplTis620ByteCvtData = +{ + aImplMS874ToUniTab + (0xA0 - MS874UNI_START), + aImpl8090SameToUniTab, + 0xA0, MS874UNI_END, + SAME8090UNI_START, SAME8090UNI_END, + aImplMS874ToCharTab, + aImpl8090SameToCharTab, + aImplMS874ToCharTabEx, + MS874CHAR_START, MS874CHAR_END, + SAME8090CHAR_START, SAME8090CHAR_END, + 1 +}; + +static ImplTextEncodingData const aImplTis620TextEncodingData + = { { &aImplTis620ByteCvtData, + ImplCharToUnicode, + ImplUnicodeToChar, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL }, + RTL_TEXTENCODING_TIS_620, + 1, + 1, + 1, + 222, + "iso8859-1", /* TODO! correct? */ + "TIS-620", + RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MIME }; + +/* ======================================================================= */ + /* MS-1258 */ /* Windows Standard CharSet for Vietnamease */ /* 1-Byte, 0x00-0x7F ASCII ohne Ausnahme */ |