* 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.
This commit is contained in:
Christopher Faylor
2009-08-22 15:01:03 +00:00
parent fca2207542
commit f3b6fef631
4 changed files with 14 additions and 0 deletions

View File

@ -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: