Date: Sat, 26 Aug 2000 08:43:10 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <8011-Sat26Aug2000084310+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b In-reply-to: (message from Damian Yerrick on Fri, 25 Aug 2000 07:42:22 GMT) Subject: Re: BAD strupr, BAD getw References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Damian Yerrick > Newsgroups: comp.os.msdos.djgpp > > This would require tons of locale support (is it in DJGPP?) Yes, but it's very simplistic for now. > for different codepages (DOS uses 437 or 850; Windows uses 1252; > Allegro uses UTF-8 Unicode...) It's actually much worse: the list of codepages used by DOS is much longer than these two, the list of Windows codepages is about the same length, and there are other encodings besides Unicode that can cover several charsets in one go (e.g., ISO-2022). The Unicode data-base has all the relevant info, at least as far as letter-case is concerned, but the size of the tables is preposterously large.