Deutsch English Français Italiano |
<vupv6d$19hk1$6@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: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: Rationale for aligning data on even bytes in a Unix shell file? Date: Tue, 29 Apr 2025 07:30:21 -0000 (UTC) Organization: A noiseless patient Spider Lines: 31 Message-ID: <vupv6d$19hk1$6@dont-email.me> References: <vuih43$2agfa$1@dont-email.me> <gy6PP.1827683$SZca.35581@fx13.iad> <vult7f$1cn30$2@raubtier-asyl.eternal-september.org> <vuml94$21v0f$4@dont-email.me> <vun03a$2fjrn$1@raubtier-asyl.eternal-september.org> <vun19q$2goqd$1@dont-email.me> <vunal3$2p980$2@raubtier-asyl.eternal-september.org> <vupe24$pu5b$4@dont-email.me> <vuponu$13pg2$4@raubtier-asyl.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 29 Apr 2025 09:30:21 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d04df55da68728393ee325291935b1e7"; logging-data="1361537"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+h2myNfL6C6CP10SXHiD+d" User-Agent: Pan/0.162 (Pokrosvk) Cancel-Lock: sha1:CHGpnu4oHPxqrJR0MWza3YNjkwU= Bytes: 2367 On Tue, 29 Apr 2025 07:40:57 +0200, Bonita Montero wrote: > Am 29.04.2025 um 04:37 schrieb Lawrence D'Oliveiro: >> >> On Mon, 28 Apr 2025 09:28:14 +0200, Bonita Montero wrote: >> >>> Am 28.04.2025 um 06:47 schrieb Lawrence D'Oliveiro: >>> >>>> On Mon, 28 Apr 2025 06:28:05 +0200, Bonita Montero wrote: >>> >>>>> Am 28.04.2025 um 03:22 schrieb Lawrence D'Oliveiro: >>> >>>>> That's not true. The codepoints for the surrogates were unused >>>>> before. >>> >>>> The problem is the fact that you have to deal with surrogates. >>> >>> That's trivial. >> >> I had to deal with it in Java code. It’s not trivial. >> >> Far easier to have systems, like Python or Linux, which can deal with >> full Unicode in a more native fashion. > > I've got my u16_feeder iterator for that I'n using for years. > It has the same semantics like a pointer in C++ and it's as easy to use. So you had to roll your own code to deal with it. That’s OK. On POSIX systems, we have iconv(3) when we need it. <https://manpages.debian.org/iconv(3)>