Sujet : Re: Rationale for aligning data on even bytes in a Unix shell file?
De : Muttley (at) *nospam* DastardlyHQ.org
Groupes : comp.lang.cDate : 28. Apr 2025, 12:01:08
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vunn5k$34tvh$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
On Mon, 28 Apr 2025 11:39:26 +0200
Bonita Montero <
Bonita.Montero@gmail.com> wibbled:
Am 28.04.2025 um 11:31 schrieb Muttley@DastardlyHQ.org:
>
*nix doesn't care about locales for most things including filenames, its
all just a sequence of bytes. Locales only matter for display such as
terminal char sets and dates.
>
Yes, Unix-APIs are really achaic. When you have a filename written
I'd say logical. Why should the OS give a damn what locale the user is using
and hence the filename any more than it should care about whats inside the
file?
with ohne user's locale and another with a different locale reads
that he get's at most a partitially readable filename. For Janis
this seems to be flexibility, but for me that's a problem. A file-
system should have fixed charset, at best Unicode.
How often would there be users using different locales on the same machine?
They'll be using whatever locale the institution that owns the machine uses
and on their own machines its not a relevant question.