Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou Newsgroups: comp.lang.c Subject: Re: Rationale for aligning data on even bytes in a Unix shell file? Date: Tue, 29 Apr 2025 01:13:58 +0200 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Tue, 29 Apr 2025 01:14:00 +0200 (CEST) Injection-Info: dont-email.me; posting-host="ec88d2575eec366494f7b849679b8ca7"; logging-data="417597"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HjsbR8HBe/gVN4KEJR7Qu" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:6RKlelcWURpswWvGokcpzdvDGAs= In-Reply-To: Bytes: 2246 On 28.04.2025 20:38, Bonita Montero wrote: > Am 28.04.2025 um 20:05 schrieb Janis Papanagnou: > >> (I thought Windows would use "UCS2". Anyway; would 16 bit suffice to >> support full Unicode; I thought it wouldn't, or only old restricted >> versions of Unicode.) > > Windows is UTF-16 since Windows 2000, UCS2 before. Oh, so it's a multi-word encoding (like UTF-8 is a multi-byte encoding) and a character not necessarily encoded with only one 16 bit word... - ....but then I wonder even more where you see an advantage. Janis