This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: KOI8 character sets
2009/8/25 Jeff Johnston:
> The fix to sb_charsets.c is correct but the old comment was fine.
Ah, you're right.
> Can the CP numbers be used directly? ÂYou set the charset for KOI8 to
> one of two CP values. ÂCan a user specify those numbers directly as
> they can for example, CP1258?
I'd considered that but I think that "CP20866" and "CP21866" should
not be supported, because "KOI8-R" and "KOI8-U" are the official
IANA-registered names and the CP names likely wouldn't be recognised
when connecting to Unix hosts. Also, the CP equivalents of other
charsets, e.g. "CP936" for "GBK", aren't supported either.
Andy