Re: [PATCH v2] man/man7/environ.7: Fix underspecification of "name=value" strings

"G. Branden Robinson" <[email protected]> Tue, 7 Jul 2026 08:39:23 -0500
Newsgroups org.kernel.vger.linux-man
Message-ID <20260707133923.lu46dj4p5dhew65v@illithid>
Hi Alex,

At 2026-07-07T13:31:31+0200, Alejandro Colomar wrote:
> I think these programs don't prove what happens on a system with an
> encoding incompatible with ASCII.  I think if you compile glibc on an
> EBDIC-based system (if that is possible at all, which I ignore),
> you'll get the behavior based on '=' and not 0x3D.  I think this is
> required by POSIX.  0x3D is not special.
> 
> Of course, if your system is a mix of ASCII and EBDIC, you have a
> problem: glibc might have been compiled as ASCII (and thus use 0x3D)
> and your program might be using something else.

A few years ago, Mike Fulton of IBM explained to the groff list how
modern z/OS copes with mixed EBCDIC/UTF-8 environments.  Essentially
they use an extended file system attribute that tags each file such that
system libraries know which encoding to use.

https://lists.gnu.org/archive/html/groff/2023-04/msg00003.html

His explanation gave me the courage to delete GNU troff's internal
support for CCSID ("code page") 1047 in time for the groff 1.24.0
release.

To date, no one has yet complained about that.

At the risk of offending someone, I venture that no OS vendor but IBM
cares about EBCDIC encodings, and no application developer who targets
any OS other than z/OS cares about it either.

Regards,
Branden
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmpNAYMACgkQ0Z6cfXEm
bc7ALRAAoJI0AWcvQYqrx676CGGhdh6n+Nqaojkp5XiSg+WcQXJ0y+LwP3dBH6be
kRUpnkxGWQN3eBRMsiCEqt2dLkJPP3x0j2TcFJuEAnkQmKu2QJKPUMGlmm5rGYUn
NM4ccVb8tyJoi0Dccn626OKXho+SyuZ1Js/fEYH5K7SW4DFYUFUisGiM0ocRA03/
lOYAcGNEINNKoWIzZhgw0LdqeYG7zg0mW1oNMkdwefqjtGSbp7jrqMiU4u0muh2z
CRC0HlblMfJV3CNdHsUQHW47hxqkaGCIgtlDeg1Hz69k+jHxayWiFxBOOMy02ng1
/GPK+Dqwa0w0bv1bdHtOdIUMlD17KyuJGhrHuLtutcwA8p/thjoK5zjhO7C4IUhI
NEL9VL+hwMa4Pu2tQBn9s1uAdzuwYXWwRW5WnFaAiriH9J9tAcQV8+NhAowYHWTL
nlz1E0Crkn6g0Q0q6gz055qaIt5h4oUkdlAuv0v2uhUNPZkUAJwb+CFDtj27V+bX
UORG1D6o7nd5PlPmHCZ3sZcx/EvNCvqz7c5HZ4uN1/iPAQ6V6KA/kGdNMsWT8UxH
yL08514AqNHNar+cgp3CcRmqXcMjK7k/4e/4Ou+cTfMX1AOUhV19YrmL1KgM9jJI
5L0zgLO54JrF7AWIWHmgIH3B9BJSk5OPus4/4kD9la9UaxR757s=
=Rt4i
-----END PGP SIGNATURE-----