Deutsch   English   Français   Italiano  
<vup7oa$e78b$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: James Kuyper <jameskuyper@alumni.caltech.edu>
Newsgroups: comp.lang.c
Subject: Re: Rationale for aligning data on even bytes in a Unix shell file?
Date: Mon, 28 Apr 2025 20:50:18 -0400
Organization: A noiseless patient Spider
Lines: 92
Message-ID: <vup7oa$e78b$1@dont-email.me>
References: <vuih43$2agfa$1@dont-email.me> <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>
 <vund1f$2rh3j$1@dont-email.me>
 <vungko$2uoa2$1@raubtier-asyl.eternal-september.org>
 <X9MPP.1383458$f81.819466@fx48.iad>
 <vuobri$3o38b$1@raubtier-asyl.eternal-september.org>
 <XtOPP.2986761$t84d.2537581@fx11.iad>
 <vuohq9$3tlhf$1@raubtier-asyl.eternal-september.org>
 <vuoig5$3ub4j$1@dont-email.me>
 <vuorpf$6tnn$1@raubtier-asyl.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 29 Apr 2025 02:50:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="933fffa209b3970701b0ab21f41b243e";
	logging-data="466187"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+h5xAZlwBA3S5IylodqxYZE6ZGbWVqzDg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:V8btVMfIsG0q3i8L9K4HcY69HXU=
In-Reply-To: <vuorpf$6tnn$1@raubtier-asyl.eternal-september.org>
Content-Language: en-US

On 28/04/2025 22:26, Bonita Montero wrote:
> Am 28.04.2025 um 20:47 schrieb Richard Harnden:
....
>> UTF-8 isn't a locale - it's an encoding.
> 
> Idiot.
> Type "locale" in the shell and thenn return.

On my system, that produces:

LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8

Try "locale -a" for more complete information. On my system the result is:


C
C.utf8
de_AT.utf8
de_BE.utf8
de_CH.utf8
de_DE.utf8
de_IT.utf8
de_LI.utf8
de_LU.utf8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
es_AR.utf8
es_BO.utf8
es_CL.utf8
es_CO.utf8
es_CR.utf8
es_CU
es_CU.utf8
es_DO.utf8
es_EC.utf8
es_ES.utf8
es_GT.utf8
es_HN.utf8
es_MX.utf8
es_NI.utf8
es_PA.utf8
es_PE.utf8
es_PR.utf8
es_PY.utf8
es_SV.utf8
es_US.utf8
es_UY.utf8
es_VE.utf8
POSIX
ru_RU.utf8
ru_UA.utf8
uk_UA.utf8
zh_HK.utf8
zh_TW.utf8

I've installed all of the languages that I have at least a passing
acquaintance with. All of those locales with "utf8" at the end use the
same encoding (UTF-8, oddly enough).