From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
To: Alejandro Colomar <alx@kernel.org>
Cc: Jason Yundt <jason@jasonyundt.email>, linux-man@vger.kernel.org
Subject: Re: [PATCH v2] man/man7/environ.7: Fix underspecification of "name=value" strings
Date: Tue, 7 Jul 2026 08:39:23 -0500 [thread overview]
Message-ID: <20260707133923.lu46dj4p5dhew65v@illithid> (raw)
In-Reply-To: <akziEjm7cgrNTmGT@devuan>
[-- Attachment #1: Type: text/plain, Size: 1327 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2026-07-07 13:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-06 14:26 [PATCH v1] man/man7/environ.7: Fix underspecification of "name=value" strings Jason Yundt
2026-07-06 15:27 ` Alejandro Colomar
2026-07-07 10:54 ` Jason Yundt
2026-07-07 11:23 ` Alejandro Colomar
2026-07-07 10:53 ` [PATCH v2] " Jason Yundt
2026-07-07 11:31 ` Alejandro Colomar
2026-07-07 13:39 ` G. Branden Robinson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260707133923.lu46dj4p5dhew65v@illithid \
--to=g.branden.robinson@gmail.com \
--cc=alx@kernel.org \
--cc=jason@jasonyundt.email \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.