Your message dated Tue, 10 Nov 2009 15:10:22 +0100
with message-id <20091110141022.ga4...@hall.aurel32.net>
and subject line Re: iconv TRANSLIT behavior is locale-dependent?
has caused the Debian Bug report #447433,
regarding iconv TRANSLIT behavior is locale-dependent?
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
447433: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=447433
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.3.6.ds1-13etch2

The following command is taken from a test case from the php5 source
package:

echo -e 
"\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d"
 \
| iconv -f CP932 -t EUC-JP//TRANSLIT

The output of this command is different depending on the locale of the
calling user.  If I call this command in a UTF-8 locale, I get the behavior
expected by the php test case.  If I call it in a C locale, I get a
different output (a series of question marks).  If I call it in an ISO8859-1
locale, I get yet a different output.

I don't see any reason that the behavior of iconv should be dependent on the
locale in which it's invoked.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vor...@debian.org                                   http://www.debian.org/



--- End Message ---
--- Begin Message ---
Version: 2.10.1

On Sun, Oct 21, 2007 at 01:31:33AM -0700, Steve Langasek wrote:
> Package: libc6
> Version: 2.3.6.ds1-13etch2
> 
> The following command is taken from a test case from the php5 source
> package:
> 
> echo -e 
> "\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d\x87\x6d"
>  \
> | iconv -f CP932 -t EUC-JP//TRANSLIT
> 
> The output of this command is different depending on the locale of the
> calling user.  If I call this command in a UTF-8 locale, I get the behavior
> expected by the php test case.  If I call it in a C locale, I get a
> different output (a series of question marks).  If I call it in an ISO8859-1
> locale, I get yet a different output.
> 
> I don't see any reason that the behavior of iconv should be dependent on the
> locale in which it's invoked.
> 

I am able to reproduce the problem with eglibc version 2.9, but not with
version 2.10.1 where the output is the same for C, ISO-8859-1 and UTF-8
locales. I am therefore closing the bug.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurel...@aurel32.net                 http://www.aurel32.net


--- End Message ---

Reply via email to