Your message dated Wed, 10 Sep 2003 11:45:55 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#209402: locales: Setting LC_CTYPE to ISO-8859-1 does not work
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; 9 Sep 2003 18:35:32 +0000
>From [EMAIL PROTECTED] Tue Sep 09 13:35:30 2003
Return-path: <[EMAIL PROTECTED]>
Received: from (bonniot.dyndns.org) [81.182.68.79] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 19wnKr-0004AW-00; Tue, 09 Sep 2003 13:35:30 -0500
Received: from daniel by bonniot.dyndns.org with local (Exim 3.36 #1 (Debian))
        id 19wnKq-0001WL-00; Tue, 09 Sep 2003 20:35:28 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Daniel Bonniot <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: locales: Setting LC_CTYPE to ISO-8859-1 does not work
X-Mailer: reportbug 2.27
Date: Tue, 09 Sep 2003 20:35:27 +0200
Message-Id: <[EMAIL PROTECTED]>
Sender: Daniel Bonniot <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-6.0 required=4.0
        tests=BAYES_01,HAS_PACKAGE
        version=2.53-bugs.debian.org_2003_8_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 
(1.174.2.15-2003-03-30-exp)

Package: locales
Version: 2.3.2-5
Severity: normal


Hi,

It seems that setting LC_CTYPE to ISO-8859-1 does not work for 
choosing a this specific charset, while setting it to "french" 
works.

Starting with an empty locale setting:
$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

$ LC_CTYPE=ISO-8859-1 locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=C
LC_CTYPE=ISO-8859-1
LC_NUMERIC="C"
[...]

$ LC_CTYPE=ISO-8859-1 perl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = "ISO-8859-1",
        LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

$ LC_CTYPE=french perl
# OK
^D
$ 

Note that is is not perl specific. This started to bite me after I 
discovered that the default encoding in a JVM was ascii, although I 
expected it to be ISO-8859-1.
For instance, running a program that lists the system properties:
$ LC_CTYPE=ISO-8859-1 java -jar ~/Nice/tmp/test.jar
file.encoding = ANSI_X3.4-1968
$ LC_CTYPE=french java -jar ~/Nice/tmp/test.jar
file.encoding = ISO-8859-1

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux blanche 2.4.21-4-686 #1 Sat Aug 2 23:27:25 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages locales depends on:
ii  debconf                       1.3.8      Debian configuration management sy
ii  libc6 [glibc-2.3.2-5]         2.3.2-5    GNU C Library: Shared libraries an

-- debconf information:
* locales/default_environment_locale: C
* locales/locales_to_be_generated: fr_FR ISO-8859-1, [EMAIL PROTECTED] ISO-8859-15, 
hu_HU ISO-8859-2


---------------------------------------
Received: (at 209402-done) by bugs.debian.org; 10 Sep 2003 09:45:58 +0000
>From [EMAIL PROTECTED] Wed Sep 10 04:45:57 2003
Return-path: <[EMAIL PROTECTED]>
Received: from (bonniot.dyndns.org) [81.182.68.4] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 19x1Xw-0005mB-00; Wed, 10 Sep 2003 04:45:57 -0500
Received: from bonniot.dyndns.org
        ([127.0.0.1] helo=inria.fr ident=daniel)
        by bonniot.dyndns.org with esmtp (Exim 3.36 #1 (Debian))
        id 19x1Xv-0000Sm-00
        for <[EMAIL PROTECTED]>; Wed, 10 Sep 2003 11:45:55 +0200
Message-ID: <[EMAIL PROTECTED]>
Date: Wed, 10 Sep 2003 11:45:55 +0200
From: Daniel Bonniot <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030827 Debian/1.4-3
X-Accept-Language: en
MIME-Version: 1.0
CC: [EMAIL PROTECTED]
Subject: Re: Bug#209402: locales: Setting LC_CTYPE to ISO-8859-1 does not
 work
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL 
PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-2.3 required=4.0
        tests=BAYES_10,IN_REP_TO,REFERENCES,USER_AGENT_MOZILLA_UA
        version=2.53-bugs.debian.org_2003_8_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 
(1.174.2.15-2003-03-30-exp)


OK, I am convinced that this is not a bug, so I close this report. I 
wrote to the maintainer of the keyboard and console HOWTO I refered to, 
so that he can update the suggesteed syntax.

Thanks for your answers and your great job.

Daniel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to