Deutsch English Français Italiano |
<vunn5k$34tvh$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Muttley@DastardlyHQ.org Newsgroups: comp.lang.c Subject: Re: Rationale for aligning data on even bytes in a Unix shell file? Date: Mon, 28 Apr 2025 11:01:08 -0000 (UTC) Organization: A noiseless patient Spider Lines: 23 Message-ID: <vunn5k$34tvh$1@dont-email.me> References: <vuih43$2agfa$1@dont-email.me> <gy6PP.1827683$SZca.35581@fx13.iad> <vult7f$1cn30$2@raubtier-asyl.eternal-september.org> <vum23d$1hkjs$1@dont-email.me> <vumjhf$20u1e$1@raubtier-asyl.eternal-september.org> <vuml73$1riea$1@dont-email.me> <vun04h$2fjrn$2@raubtier-asyl.eternal-september.org> <vun1nh$22hc5$3@dont-email.me> <vunak2$2p980$1@raubtier-asyl.eternal-september.org> <vunbgo$2q5u8$1@dont-email.me> <vunbjg$2q72n$1@raubtier-asyl.eternal-september.org> <vunhtp$301lb$1@dont-email.me> <vunib4$308ou$1@raubtier-asyl.eternal-september.org> Injection-Date: Mon, 28 Apr 2025 13:01:09 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f5e8f5cfe332a60fea6443c4f19c5af3"; logging-data="3307505"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pUjM4y05tjp6P+TmqiOCL" Cancel-Lock: sha1:nXdpWfsSeFKlMSvN/hVe9CMOy34= Bytes: 2383 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.