summaryrefslogtreecommitdiff
path: root/sal/textenc/tcvttcn6.tab
diff options
context:
space:
mode:
authorStephan Bergmann <sb@openoffice.org>2001-10-12 09:44:53 +0000
committerStephan Bergmann <sb@openoffice.org>2001-10-12 09:44:53 +0000
commitee2c73f6a8711bb1e9f6ed5ea253b152b6742144 (patch)
tree71f35641cb1998a6ee204f91469988b588278813 /sal/textenc/tcvttcn6.tab
parentbf4d03e8e0ec2a50462ba0d959915b17e515f8c0 (diff)
#87140# Cleaned up, added EUC-TW and GB-18030.
Diffstat (limited to 'sal/textenc/tcvttcn6.tab')
-rw-r--r--sal/textenc/tcvttcn6.tab182
1 files changed, 62 insertions, 120 deletions
diff --git a/sal/textenc/tcvttcn6.tab b/sal/textenc/tcvttcn6.tab
index 3fec9200f685..92d5b01560ce 100644
--- a/sal/textenc/tcvttcn6.tab
+++ b/sal/textenc/tcvttcn6.tab
@@ -2,9 +2,9 @@
*
* $RCSfile: tcvttcn6.tab,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: th $ $Date: 2000-12-13 22:23:46 $
+ * last change: $Author: sb $ $Date: 2001-10-12 10:44:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -627,45 +627,27 @@ static ImplDBCSConvertData const aImplBIG5DBCSCvtData =
/* ----------------------------------------------------------------------- */
-static ImplTextConverterData const aImplBIG5TextConverterData =
-{
- &aImplBIG5DBCSCvtData,
- NULL,
- RTL_UNICODE_CHAR_DEFAULT
-};
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextConverter const aImplBIG5TextConverter =
-{
- &aImplBIG5TextConverterData,
- ImplDBCSToUnicode,
- ImplUnicodeToDBCS,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
-};
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextEncodingData const aImplBIG5TextEncodingData =
-{
- &aImplBIG5TextConverter,
- RTL_TEXTENCODING_BIG5,
- 1, 2, 2,
- 136,
- 950,
- 2,
- (const sal_Char*)"euc-tw",
- (const sal_Char*)"big5",
- RTL_TEXTENCODING_INFO_ASCII |
- RTL_TEXTENCODING_INFO_MULTIBYTE |
- RTL_TEXTENCODING_INFO_MIME,
- SCRIPT_CHINESE_TRADITIONAL
-};
+static ImplTextEncodingData const aImplBIG5TextEncodingData
+ = { { &aImplBIG5DBCSCvtData,
+ ImplDBCSToUnicode,
+ ImplUnicodeToDBCS,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL },
+ RTL_TEXTENCODING_BIG5,
+ 1,
+ 2,
+ 2,
+ 136,
+ "euc-tw",
+ "big5",
+ RTL_TEXTENCODING_INFO_ASCII
+ | RTL_TEXTENCODING_INFO_MULTIBYTE
+ | RTL_TEXTENCODING_INFO_MIME };
+ /* SCRIPT_CHINESE_TRADITIONAL, pc code page 950, mac encoding 2 */
/* ======================================================================= */
@@ -1204,46 +1186,26 @@ static ImplDBCSConvertData const aImplMS950DBCSCvtData =
/* ----------------------------------------------------------------------- */
-static ImplTextConverterData const aImplMS950TextConverterData =
-{
- &aImplMS950DBCSCvtData,
- NULL,
- RTL_UNICODE_CHAR_DEFAULT
-};
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextConverter const aImplMS950TextConverter =
-{
- &aImplMS950TextConverterData,
- ImplDBCSToUnicode,
- ImplUnicodeToDBCS,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
-};
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextEncodingData const aImplMS950TextEncodingData =
-{
- &aImplMS950TextConverter,
- RTL_TEXTENCODING_MS_950,
- 1, 2, 2,
- 136,
- 950,
- 2,
- (const sal_Char*)"euc-tw",
- (const sal_Char*)"big5",
- RTL_TEXTENCODING_INFO_ASCII |
- RTL_TEXTENCODING_INFO_MULTIBYTE |
- RTL_TEXTENCODING_INFO_WIN |
- RTL_TEXTENCODING_INFO_DOS_OS2,
- SCRIPT_CHINESE_TRADITIONAL
-};
+static ImplTextEncodingData const aImplMS950TextEncodingData
+ = { { &aImplMS950DBCSCvtData,
+ ImplDBCSToUnicode,
+ ImplUnicodeToDBCS,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL },
+ RTL_TEXTENCODING_MS_950,
+ 1,
+ 2,
+ 2,
+ 136,
+ "euc-tw",
+ "big5",
+ RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MULTIBYTE };
+ /* WIN/DOS/OS2, SCRIPT_CHINESE_TRADITIONAL, pc code page 950, mac encoding
+ 2 */
/* ======================================================================= */
@@ -1782,42 +1744,22 @@ static ImplDBCSConvertData const aImplAPPLECHINTRADDBCSCvtData =
/* ----------------------------------------------------------------------- */
-static ImplTextConverterData const aImplAPPLECHINTRADTextConverterData =
-{
- &aImplAPPLECHINTRADDBCSCvtData,
- NULL,
- RTL_UNICODE_CHAR_DEFAULT
-};
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextConverter const aImplAPPLECHINTRADTextConverter =
-{
- &aImplAPPLECHINTRADTextConverterData,
- ImplDBCSToUnicode,
- ImplUnicodeToDBCS,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
-};
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextEncodingData const aImplAPPLECHINTRADTextEncodingData =
-{
- &aImplAPPLECHINTRADTextConverter,
- RTL_TEXTENCODING_APPLE_CHINTRAD,
- 1, 2, 2,
- 136,
- 950,
- 2,
- (const sal_Char*)"euc-tw",
- (const sal_Char*)"big5",
- RTL_TEXTENCODING_INFO_ASCII |
- RTL_TEXTENCODING_INFO_MULTIBYTE |
- RTL_TEXTENCODING_INFO_MAC,
- SCRIPT_CHINESE_TRADITIONAL
-};
+static ImplTextEncodingData const aImplAPPLECHINTRADTextEncodingData
+ = { { &aImplAPPLECHINTRADDBCSCvtData,
+ ImplDBCSToUnicode,
+ ImplUnicodeToDBCS,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL },
+ RTL_TEXTENCODING_APPLE_CHINTRAD,
+ 1,
+ 2,
+ 2,
+ 136,
+ "euc-tw",
+ "big5",
+ RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MULTIBYTE };
+ /* MAC, SCRIPT_CHINESE_TRADITIONAL, pc code page 950, mac encoding 2 */