diff options
author | Bruno Haible <bruno@clisp.org> | 2005-07-04 11:35:38 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:12:37 +0200 |
commit | 492121546c08760d7461438f63363762e5cc3675 (patch) | |
tree | 870ad36c4d7f3a3d8aa5dc19bc81e2116a80b3c5 /gettext-tools/lib | |
parent | ef54c5494bfb5bb780b8eb41df9104579972b3bf (diff) | |
download | external_gettext-492121546c08760d7461438f63363762e5cc3675.zip external_gettext-492121546c08760d7461438f63363762e5cc3675.tar.gz external_gettext-492121546c08760d7461438f63363762e5cc3675.tar.bz2 |
Add more Windows codepage numbers.
Diffstat (limited to 'gettext-tools/lib')
-rw-r--r-- | gettext-tools/lib/ChangeLog | 5 | ||||
-rw-r--r-- | gettext-tools/lib/localcharset.c | 12 |
2 files changed, 15 insertions, 2 deletions
diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index a0693a0..5112132 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,8 @@ +2005-07-02 Bruno Haible <bruno@clisp.org> + + * localcharset.c (get_charset_aliases) [WIN32]: Add CP65001 and others. + Reported by <mus1876@gmx.info> via Alain Bench <messtic@oreka.com>. + 2005-06-08 Bruno Haible <bruno@clisp.org> * canonicalize.c (__realpath): Avoid gcc warnings on platforms that diff --git a/gettext-tools/lib/localcharset.c b/gettext-tools/lib/localcharset.c index 1252f3f..ffc5969 100644 --- a/gettext-tools/lib/localcharset.c +++ b/gettext-tools/lib/localcharset.c @@ -1,6 +1,6 @@ /* Determine a canonical name for the current locale's character encoding. - Copyright (C) 2000-2004 Free Software Foundation, Inc. + Copyright (C) 2000-2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published @@ -249,6 +249,7 @@ get_charset_aliases () "CP1361" "\0" "JOHAB" "\0" "CP20127" "\0" "ASCII" "\0" "CP20866" "\0" "KOI8-R" "\0" + "CP20936" "\0" "GB2312" "\0" "CP21866" "\0" "KOI8-RU" "\0" "CP28591" "\0" "ISO-8859-1" "\0" "CP28592" "\0" "ISO-8859-2" "\0" @@ -259,7 +260,14 @@ get_charset_aliases () "CP28597" "\0" "ISO-8859-7" "\0" "CP28598" "\0" "ISO-8859-8" "\0" "CP28599" "\0" "ISO-8859-9" "\0" - "CP28605" "\0" "ISO-8859-15" "\0"; + "CP28605" "\0" "ISO-8859-15" "\0" + "CP38598" "\0" "ISO-8859-8" "\0" + "CP51932" "\0" "EUC-JP" "\0" + "CP51936" "\0" "GB2312" "\0" + "CP51949" "\0" "EUC-KR" "\0" + "CP51950" "\0" "EUC-TW" "\0" + "CP54936" "\0" "GB18030" "\0" + "CP65001" "\0" "UTF-8" "\0"; # endif #endif |