summaryrefslogtreecommitdiffstats
path: root/sal/textenc/tcvtuni1.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/tcvtuni1.tab
parent#87140# .dat was a bad idea (cvs wrapper thinks it's binary), retrying with .... (diff)
downloadcore-ee2c73f6a8711bb1e9f6ed5ea253b152b6742144.tar.gz
core-ee2c73f6a8711bb1e9f6ed5ea253b152b6742144.zip
#87140# Cleaned up, added EUC-TW and GB-18030.
Diffstat (limited to 'sal/textenc/tcvtuni1.tab')
-rw-r--r--sal/textenc/tcvtuni1.tab150
1 files changed, 50 insertions, 100 deletions
diff --git a/sal/textenc/tcvtuni1.tab b/sal/textenc/tcvtuni1.tab
index a0c4a14bb84e..e09388e31537 100644
--- a/sal/textenc/tcvtuni1.tab
+++ b/sal/textenc/tcvtuni1.tab
@@ -2,9 +2,9 @@
*
* $RCSfile: tcvtuni1.tab,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 15:17:30 $
+ * 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
@@ -59,101 +59,51 @@
*
************************************************************************/
-/* ======================================================================= */
-
-/* This file contain the tables for all unicode enabled text encodings */
-
-/* ======================================================================= */
-
-/* UTF7 */
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextConverterData const aImplUTF7TextConverterData =
-{
- NULL,
- NULL,
- RTL_UNICODE_CHAR_DEFAULT
-};
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextConverter const aImplUTF7TextConverter =
-{
- &aImplUTF7TextConverterData,
- ImplUTF7ToUnicode,
- ImplUnicodeToUTF7,
- ImplUTF7CreateUTF7TextToUnicodeContext,
- ImplUTF7DestroyTextToUnicodeContext,
- ImplUTF7ResetTextToUnicodeContext,
- ImplUTF7CreateUnicodeToTextContext,
- ImplUTF7DestroyUnicodeToTextContext,
- ImplUTF7ResetUnicodeToTextContext
-};
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextEncodingData const aImplUTF7TextEncodingData =
-{
- &aImplUTF7TextConverter,
- RTL_TEXTENCODING_UTF7,
- 1, 6, 1,
- 0,
- 850,
- 0,
- (const sal_Char*)"iso8859-1",
- (const sal_Char*)"utf-7",
- RTL_TEXTENCODING_INFO_CONTEXT |
- RTL_TEXTENCODING_INFO_UNICODE |
- RTL_TEXTENCODING_INFO_7BIT |
- RTL_TEXTENCODING_INFO_MULTIBYTE |
- RTL_TEXTENCODING_INFO_MIME,
- SCRIPT_UNICODE
-};
-
-/* ======================================================================= */
-
-/* UTF8 */
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextConverterData const aImplUTF8TextConverterData =
-{
- NULL,
- NULL,
- RTL_UNICODE_CHAR_DEFAULT
-};
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextConverter const aImplUTF8TextConverter =
-{
- &aImplUTF8TextConverterData,
- ImplUTF8ToUnicode,
- ImplUnicodeToUTF8,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
-};
-
-/* ----------------------------------------------------------------------- */
-
-static ImplTextEncodingData const aImplUTF8TextEncodingData =
-{
- &aImplUTF8TextConverter,
- RTL_TEXTENCODING_UTF8,
- 1, 6, 1,
- 0,
- 850,
- 0,
- (const sal_Char*)"iso8859-1",
- (const sal_Char*)"utf-8",
- RTL_TEXTENCODING_INFO_ASCII |
- RTL_TEXTENCODING_INFO_UNICODE |
- RTL_TEXTENCODING_INFO_MULTIBYTE |
- RTL_TEXTENCODING_INFO_MIME,
- SCRIPT_UNICODE
-};
+/* Unicode Encodings */
+
+static ImplTextEncodingData const aImplUTF7TextEncodingData
+ = { { NULL,
+ ImplUTF7ToUnicode,
+ ImplUnicodeToUTF7,
+ ImplUTF7CreateUTF7TextToUnicodeContext,
+ ImplUTF7DestroyTextToUnicodeContext,
+ ImplUTF7ResetTextToUnicodeContext,
+ ImplUTF7CreateUnicodeToTextContext,
+ ImplUTF7DestroyUnicodeToTextContext,
+ ImplUTF7ResetUnicodeToTextContext },
+ RTL_TEXTENCODING_UTF7,
+ 1,
+ 6,
+ 1,
+ 0,
+ "iso8859-1",
+ "utf-7",
+ RTL_TEXTENCODING_INFO_CONTEXT
+ | RTL_TEXTENCODING_INFO_UNICODE
+ | RTL_TEXTENCODING_INFO_7BIT
+ | RTL_TEXTENCODING_INFO_MULTIBYTE
+ | RTL_TEXTENCODING_INFO_MIME };
+ /* SCRIPT_UNICODE, pc code page 850 */
+
+static ImplTextEncodingData const aImplUTF8TextEncodingData
+ = { { NULL,
+ ImplUTF8ToUnicode,
+ ImplUnicodeToUTF8,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL },
+ RTL_TEXTENCODING_UTF8,
+ 1,
+ 6,
+ 1,
+ 0,
+ "iso8859-1",
+ "utf-8",
+ RTL_TEXTENCODING_INFO_ASCII
+ | RTL_TEXTENCODING_INFO_UNICODE
+ | RTL_TEXTENCODING_INFO_MULTIBYTE
+ | RTL_TEXTENCODING_INFO_MIME };
+ /* SCRIPT_UNICODE, pc code page 850 */