This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: KOI8 character sets
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Andy Koppe <andy dot koppe at gmail dot com>
- Cc: newlib at sourceware dot org
- Date: Tue, 25 Aug 2009 14:47:50 -0400 (EDT)
- Subject: Re: KOI8 character sets
Ok, patch checked in with comment fixed.
-- Jeff J.
----- Original Message -----
From: "Andy Koppe" <andy.koppe@gmail.com>
To: "Jeff Johnston" <jjohnstn@redhat.com>
Cc: newlib@sourceware.org
Sent: Tuesday, August 25, 2009 2:39:41 PM GMT -05:00 US/Canada Eastern
Subject: 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