bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: m4 ebcdic patch


From: Paul Eggert
Subject: Re: m4 ebcdic patch
Date: 12 Dec 2003 17:59:36 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

address@hidden (Michael Elizabeth Chastain) writes:

> I changed character range code so that range expressions such as
> '[A-Z]' copy characters out of a fixed string
> "ABCDEFGHIJKLMNOPQRSTUVWXYZ" instead of doing character arithmetic
> >From 'A' to 'Z'.  This handles the noncontiguous ranges of EBCDIC.

This doesn't suffice, unfortunately.  POSIX requires that, in the
standard "C" (or "POSIX" locale), every portable character (not just
alphanumerics) must sort as if it were ASCII.  For details, please
see:

<http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap07.html>

and look for the subsection entitled "LC_COLLATE Category in the POSIX
Locale".




reply via email to

[Prev in Thread] Current Thread [Next in Thread]