summaryrefslogtreecommitdiff
path: root/sal/textenc
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-11 13:25:01 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-11 13:25:01 +0000
commit4a6534d5aee13ff29b7dc9d36ae08d3e425831b8 (patch)
treeaa89b59816b48f677ff12a9dcaf8edd77c398b21 /sal/textenc
parent9e78ea54aa562cc26c84693d05c52fbfad05051e (diff)
INTEGRATION: CWS sal01 (1.18.10.2.18); FILE MERGED
2003/03/17 09:54:32 sb 1.18.10.2.18.1: #107996# Added MIME character set KS_C_5601-1987 and aliases to map to RTL_TEXTENCODING_MS_949; added new alias Latin-9 for ISO-8859-15.
Diffstat (limited to 'sal/textenc')
-rw-r--r--sal/textenc/tencinfo.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/sal/textenc/tencinfo.c b/sal/textenc/tencinfo.c
index 98eb1d566ff8..8394ed4200b3 100644
--- a/sal/textenc/tencinfo.c
+++ b/sal/textenc/tencinfo.c
@@ -2,9 +2,9 @@
*
* $RCSfile: tencinfo.c,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: vg $ $Date: 2003-04-01 14:15:15 $
+ * last change: $Author: vg $ $Date: 2003-04-11 14:25:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -906,6 +906,16 @@ rtl_TextEncoding SAL_CALL rtl_getTextEncodingFromMimeCharset( const sal_Char* pM
use in Thailand. */
{ "koi8u", RTL_TEXTENCODING_KOI8_U },
{ "cpis", RTL_TEXTENCODING_IBM_861 },
+ { "ksc56011987", RTL_TEXTENCODING_MS_949 },
+ { "isoir149", RTL_TEXTENCODING_MS_949 },
+ { "ksc56011989", RTL_TEXTENCODING_MS_949 },
+ { "ksc5601", RTL_TEXTENCODING_MS_949 },
+ { "korean", RTL_TEXTENCODING_MS_949 },
+ { "csksc56011987", RTL_TEXTENCODING_MS_949 },
+ /* Map KS_C_5601-1987 and aliases to MS-949 instead of EUC-KR, as
+ this character set identifier seems to be prominently used by MS
+ to stand for KS C 5601 plus MS-949 extensions */
+ { "latin9", RTL_TEXTENCODING_ISO_8859_15 },
{ NULL, RTL_TEXTENCODING_DONTKNOW }
};