[Top][All Lists]

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

Re: EBCDIC support?

From: Eric Blake
Subject: Re: EBCDIC support?
Date: Wed, 30 Jul 2008 05:58:18 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080708 Thunderbird/ Mnenhy/

Hash: SHA1

According to Jack Woehr on 7/29/2008 10:28 PM:
| Can anyone point me to any GNU m4 documentation having to do with
| EBCDIC support or lack thereof?

The manual doesn't really state much on this matter.  Most of m4's
processing is byte based (so no multibyte characters), and m4 uses
<ctype.h> to distinguish between the various character types (so it should
generally be EBCDIC safe).  The only exceptions I know of is that using a
range operator (such as 'a-z' as the second or third argument to translit,
or '[a-z]' as the regular expression in regexp or patsubst) will probably
work incorrectly, since those are not contiguous bytes in EBCDIC; spell
out the range yourself.  A few of the tests in the testsuite will probably
fail because they assume ASCII or Latin-1 encoding.

I don't have access to an EBCDIC system (and these days, they are quite
rare), but if you encounter any bugs, feel free to report them.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


reply via email to

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