Browse Source

* cygwin/strfuncs.cc (__set_charset_from_codepage): Add codepages 20866

(KOI8-R) and 21866 (KOI8-U).

* doc/setup2.sgml (setup-locale-charsetlist): Add KOI8-R and KOI8-U to list of
supported charsets.
gdb_7_0-branch
Christopher Faylor 17 years ago
parent
commit
f3b6fef631
  1. 5
      winsup/cygwin/ChangeLog
  2. 2
      winsup/cygwin/strfuncs.cc
  3. 5
      winsup/doc/ChangeLog
  4. 2
      winsup/doc/setup2.sgml

5
winsup/cygwin/ChangeLog

@ -1,3 +1,8 @@
2009-08-22 Corinna Vinschen <corinna@vinschen.de>
* strfuncs.cc (__set_charset_from_codepage): Add codepages 20866
(KOI8-R) and 21866 (KOI8-U).
2009-08-21 Christopher Faylor <me+cygwin@cgf.cx>
* dll_init.h (has_dtors): New flag.

2
winsup/cygwin/strfuncs.cc

@ -339,6 +339,8 @@ __set_charset_from_codepage (UINT cp, char *charset)
case 1256:
case 1257:
case 1258:
case 20866:
case 21866:
__small_sprintf (charset, "CP%u", cp);
return __cp_mbtowc;
case 28591:

5
winsup/doc/ChangeLog

@ -1,3 +1,8 @@
2009-08-22 Corinna Vinschen <corinna@vinschen.de>
* setup2.sgml (setup-locale-charsetlist): Add KOI8-R and KOI8-U to list
of supported charsets.
2009-08-22 Corinna Vinschen <corinna@vinschen.de>
* setup2.sgml (setup-locale-charsetlist): Add description of

2
winsup/doc/setup2.sgml

@ -463,6 +463,8 @@ of the "CPxxx" style charsets, always use them with the trailing "CP".</para>
ISO-8859-15 28605 (ISO-8859-15)
ISO-8859-16 - (not available)
KOI8-R 20866 (KOI8-R Russian Cyrillic)
KOI8-U 21866 (KOI8-U Ukrainian Cyrillic)
SJIS 932 (ANSI/OEM Japanese)
GBK 936 (ANSI/OEM Simplified Chinese)
Big5 950 (ANSI/OEM Traditional Chinese)

Loading…
Cancel
Save