[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#282715: marked as done (locale.alias contents do not match with typical LANG or LC_* values)



Your message dated Wed, 24 Nov 2004 07:55:53 +0100
with message-id <20041124065552.GA1258@linuxfr.org>
and subject line Bug#282715: locale.alias contents do not match with typical LANG or LC_* values
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Nov 2004 22:08:26 +0000
>From gsromero@alumnos.euitt.upm.es Tue Nov 23 14:08:26 2004
Return-path: <gsromero@alumnos.euitt.upm.es>
Received: from 16.red-80-32-164.pooles.rima-tde.net (blitzkrieg.battleship) [80.32.164.16] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CWipl-0005Fk-00; Tue, 23 Nov 2004 14:08:26 -0800
Received: (from unnamed@localhost)
	by blitzkrieg.battleship (8.11.6/8.11.6) id iANM8KO06276
	for submit@bugs.debian.org; Tue, 23 Nov 2004 23:08:20 +0100
Date: Tue, 23 Nov 2004 23:08:20 +0100
From: "Guillermo S. Romero" <gsromero@alumnos.euitt.upm.es>
To: submit@bugs.debian.org
Subject: locale.alias contents do not match with typical LANG or LC_* values
Message-ID: <20041123230820.A6264@blitzkrieg.battleship>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: xlibs-data
Version: 4.3.0.dfsg.1-8

Hi:

I have been installing Sarge, and decided to go full utf8. But when
launching xterms I was getting errors about the locales. After some
hunting I found that my env vars had values that C lib likes (for
example en_GB.utf8) but Xlib does not (it wants things like
en_US.UTF-8).

Some more inspection let me found that adding some extra lines to
/usr/X11R6/lib/X11/locale/locale.alias made it stop complaining. It
would be nice if this file included the values that you can get from
locale -a (the utf8 ones mapped to the UTF-8 that X has).

Thanks.

GSR
 

---------------------------------------
Received: (at 282715-done) by bugs.debian.org; 24 Nov 2004 06:55:40 +0000
>From barbier@linuxfr.org Tue Nov 23 22:55:40 2004
Return-path: <barbier@linuxfr.org>
Received: from main.uucpssh.org [212.27.33.224] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CWr40-0003Qq-00; Tue, 23 Nov 2004 22:55:40 -0800
Received: from localhost (localhost [127.0.0.1])
	by main.uucpssh.org (Postfix) with ESMTP id 52707691B2;
	Wed, 24 Nov 2004 07:55:39 +0100 (CET)
Received: by main.uucpssh.org (Postfix, from userid 10)
	id 07AAB69201; Wed, 24 Nov 2004 07:55:34 +0100 (CET)
Received: by localhost.localdomain (Postfix, from userid 1000)
	id 2558223F19; Wed, 24 Nov 2004 07:55:53 +0100 (CET)
Date: Wed, 24 Nov 2004 07:55:53 +0100
To: "Guillermo S. Romero" <gsromero@alumnos.euitt.upm.es>
Cc: 282715-done@bugs.debian.org
Subject: Re: Bug#282715: locale.alias contents do not match with typical LANG or LC_* values
Message-ID: <20041124065552.GA1258@linuxfr.org>
References: <20041123230820.A6264@blitzkrieg.battleship> <20041123231010.GA2888@linuxfr.org> <20041124005834.A7145@blitzkrieg.battleship>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20041124005834.A7145@blitzkrieg.battleship>
User-Agent: Mutt/1.5.6+20040907i
From: barbier@linuxfr.org (Denis Barbier)
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at uucpssh.org
Delivered-To: 282715-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

On Wed, Nov 24, 2004 at 12:58:34AM +0100, Guillermo S. Romero wrote:
> barbier@linuxfr.org (2004-11-24 at 0010.10 +0100):
> > The name listed in /usr/share/i18n/SUPPORTED is en_GB.UTF-8 and it is
> > displayed when running 'dpkg-reconfigure locales', so you should use
> > this one.
> 
> You are right, the non matching is locale output with its utf8
> lines, sorry for the wrong report. My excuses.

No problem, I am then closing this bugreport.  FYI GNU libc normalizes
charset names in order to accept .utf8, .utf-8, .UTF-8 etc. strings
without having to maintain a large locale.alias file similar to the
one in X.  This normalized name is internal, you should not care about it.
For instance, if you define charset=utf8 in PO files, msgfmt barfs:
 msgfmt: fr.po: warning: Charset "utf8" is not a portable encoding name.
                         Message conversion to user's charset might not work.

Please use UTF-8 instead ;)

Thanks



Reply to: