Re: EBCDIC support?

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
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             [email protected]
-----BEGIN PGP SIGNATURE-----
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

iEYEARECAAYFAkiQV1oACgkQ84KuGfSFAYDcPQCcD+Q2APj2y4uskbiCCzSkVNVB
JdAAn2NcpmN1B1C0rhNZjAMOluriqMbR
=1kDp
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.