delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/11/25/12:23:39

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4APHNdA12811893
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4APHNdA12811893
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=yNiXRF4o
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C7B53858416
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1732555416;
bh=CsCUmnHHqcbbME3wV8lazrUiPmq1Sg5Y2zT2jYpjkME=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=yNiXRF4oT6rxxeUQLWW/MhMy+b5/u9jfqKqMnsr7bNWYz63sckVvuJVcIlPqJW/Ar
AWztOKh7xB37kZ5Uvu8DexS/tFYIDHJRPfw+r+dSn4+zT6SiWaF+vDY59oZWa1Mkh5
IyjDgZ/MzB8ul9/D/32T1u57a60i36vIXNqe+2cg=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A76623858D38
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A76623858D38
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1732555328; cv=none;
b=CZqqLdwQXLcQeJNwzHAc0ljqLLT9WlHnDgOdyZKVDS3F0NWSjZvp9PVZ5lryZcivIFQg9nnH55kUd4G+AgY/ciaaU4rCGRMimi0bu/mLVxpPl52/ev6uOy12/7qXxFUw10tXcxUNt0jY6yl3mvFnA7K5zDlY/L97ZOW/9fL1ymo=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1732555328; c=relaxed/simple;
bh=3bkWpYnkVLy8SksxlCExnPIGAHMyeTlRQ3MKEUJGVb0=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=shd3eRHakgTwkaOx4aQp2vkKMz3egDPh/9OkgRzJYfZ67xFDOhe3P2iYgrVZMW/gsjLHC4cgPbbedhTDQfYbJWEnikWVKUMiQVSxduGkRvezGJiJg6Pl5aKY1PqFH9snsBO6fRvFkxercbRfyTphwWbPTnVG0bl5C4ePxfZvizI=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A76623858D38
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1732555327; x=1733160127;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=ni/mcAogzZnXZDKj9MoU/2JbQ4QGSQRBzGd9vgRi2nw=;
b=b9GxA+w5C9XJ9A1DVjoksMxHc7iV1FEZ8ZcNKrv9NXapihkEh36IW3RO7zXeuLbWkx
VvysD0JWvpVFyfNY+p9yd5JpS5ZjlfOkNI4L0Wfj4OO0+5uOVqq3vlbhovhzGcXTeIIU
2X1rNphuewhd2EfsM045wWLKNl32Ouz8Gn6vrE2+UR9jJQwn3xhPCt06jw2r+VlWVjZt
hI/iwRIIjbL/LrUJt1/3n427vJIja3al9mxVRnpOXxqRj0gAMoj7ghVyK8ShkB+GV+l5
+7kkHpHPG5QX4cL0iulA2N3FtkH+6BxrCDEdMfW+xOIR6EtCdVotBBywRyNK3Xz/wi6A
mfXw==
X-Gm-Message-State: AOJu0Yxl+nfXah1/d0YZy/xbXhfJzWBTk+Y4PZUhnt/9fapBL1tJv4FB
n2Eij+34Po3VEqKI0ZWMKhmkRJ72O5IQJ9qUAjHiI/bnOWYGrgWeodLk/RYQwQ50QGgh6oabbKr
a2IvoHx7W68gDvjU8QLVSpWNUUi8qa3KN
X-Gm-Gg: ASbGnctwvUOFzypY01hVluLEK8HWhkX3FdkFvpyqkO81HjosNtimOywHuy7+2UhxP5k
4kLvumbJVqB6K+WgOCpGG5Fdoi/7UWwg=
X-Google-Smtp-Source: AGHT+IGHjrIvGRXIJVJchYdnWIKcu5Lx2mT8zipjU2yDBnpEy+eG5DHMPggUf14eea1XBPvymrLclRlsaFS6FT+dRO0=
X-Received: by 2002:a05:6a20:43a3:b0:1db:eea8:6b79 with SMTP id
adf61e73a8af0-1e09e44ac14mr19806221637.16.1732555327149; Mon, 25 Nov 2024
09:22:07 -0800 (PST)
MIME-Version: 1.0
References: <CAAvCNcC+Pu=4vXoOR2y_JksDcLwULuQOxS175pv7xCMc03GO1Q AT mail DOT gmail DOT com>
<20241121130620 DOT 01037ce19f7a5025d0e37b81 AT nifty DOT ne DOT jp>
<CAAvCNcBGr5Piv9yB2YoaNNFFG0Q06Eu3Ucuc1YhyhFwyy8vGhA AT mail DOT gmail DOT com>
<Zz8Ys33H2uAF_xzy AT calimero DOT vinschen DOT de>
<Zz8bzcfRlts5DNYM AT calimero DOT vinschen DOT de>
In-Reply-To: <Zz8bzcfRlts5DNYM@calimero.vinschen.de>
Date: Mon, 25 Nov 2024 18:21:00 +0100
Message-ID: <CAN0SSYxJTic7Pwh6kGbiEsFvvOqYJZjvoaby9T4epkgqrKBR+Q@mail.gmail.com>
Subject: Re: Cygwin zh_CN.GB18030 locale?
To: cygwin AT cygwin DOT com
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Mark Liam Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Mark Liam Brown <brownmarkliam AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4APHNdA12811893

On Thu, Nov 21, 2024 at 12:39 PM Corinna Vinschen via Cygwin
<cygwin AT cygwin DOT com> wrote:
>
> On Nov 21 12:25, Corinna Vinschen via Cygwin wrote:
> > On Nov 21 05:57, Dan Shelton via Cygwin wrote:
> > > locale -a | grep 18030
> >
> > You're confusing locale with codeset (or charset).
> >
> >   $ locale -a | grep zh_CN
> >   zh_CN
> >   zh_CN.utf8
> >   zh_CN DOT utf8 AT cjknarrow
> >   zh_CN AT cjknarrow
> >
> >   $ locale -m | grep 18030
> >   GB18030
> >
> > Note that for compat reasons, the default codeset of zh_CN is gb2312,
> > so you have to specify a different codeset explicitely.
> >
> >   export LC_MESSAGES=zh_CN.GB18030
>
> Please check additionally:
>
>   $ locale -av
>   $ cat /proc/locales
>   $ cat /proc/codesets
>
> Those might be pretty helpful.
>

locale -a does not list GB18030, and autoconf/cmake and others will
then think the GB18030 locale is not installed.

locale -a should list ALL supported locales, with FULL
language[_territory][.codeset][@modifier] string, and not just the
legacy language[_territory] string, which is pretty useless for
autoconf/cmake.

Mark
-- 
IT Infrastructure Consultant
Windows, Linux

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019