Your message dated Fri, 21 May 2004 01:32:45 +0900
with message-id <[EMAIL PROTECTED]>
and subject line Bug#249760: libc6: iconv doesn't fail if asked to convert from bad
iso_8859-1
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; 19 May 2004 01:35:37 +0000
>From [EMAIL PROTECTED] Tue May 18 18:35:37 2004
Return-path: <[EMAIL PROTECTED]>
Received: from i-194-106-34-144.freedom2surf.net (matrix.chaos.earth.li)
[194.106.34.144]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BQFzd-00056F-00; Tue, 18 May 2004 18:35:37 -0700
Received: from ian by matrix.chaos.earth.li with local (Exim 3.36 #1 (Debian))
id 1BQFzZ-00079v-00; Wed, 19 May 2004 02:35:33 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Ian Lynagh <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: libc6: iconv doesn't fail if asked to convert from bad iso_8859-1
X-Mailer: reportbug 2.10
Date: Wed, 19 May 2004 02:35:33 +0100
Message-Id: <[EMAIL PROTECTED]>
Sender: Ian Lynagh <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
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: libc6
Version: 2.3.2.ds1-12
Severity: normal
Based on iso_8859-1(7) and ascii(7) it looks to me like \200 (octal) is
not a valid character. However, iconv doesn't complain about converting
it whereas it does complain about converting illegal utf8:
$ /bin/echo -e '\200' | iconv -f iso_8859-1 -t utf8 > /dev/null; echo $?
0
$ /bin/echo -e '\200' | iconv -f utf8 -t utf8 > /dev/null; echo $?
iconv: illegal input sequence at position 0
1
$
I think it should consistently complain.
This may be related to bug #231461
Thanks
Ian
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux matrix 2.6.5 #1 Fri Apr 23 04:02:58 BST 2004 i586
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8
Versions of packages libc6 depends on:
ii libdb1-compat 2.1.3-5 The Berkeley database routines [gl
-- no debconf information
---------------------------------------
Received: (at 249760-done) by bugs.debian.org; 20 May 2004 16:32:46 +0000
>From [EMAIL PROTECTED] Thu May 20 09:32:46 2004
Return-path: <[EMAIL PROTECTED]>
Received: from omega.webmasters.gr.jp (webmasters.gr.jp) [218.44.239.78]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BQqTO-0002lT-00; Thu, 20 May 2004 09:32:46 -0700
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
by webmasters.gr.jp (Postfix) with ESMTP
id D929EDEB80; Fri, 21 May 2004 01:32:45 +0900 (JST)
Date: Fri, 21 May 2004 01:32:45 +0900
Message-ID: <[EMAIL PROTECTED]>
From: GOTO Masanori <[EMAIL PROTECTED]>
To: Ian Lynagh <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#249760: libc6: iconv doesn't fail if asked to convert from bad
iso_8859-1
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
(i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: [EMAIL PROTECTED]
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:
At Wed, 19 May 2004 02:35:33 +0100,
Ian Lynagh wrote:
> Based on iso_8859-1(7) and ascii(7) it looks to me like \200 (octal) is
> not a valid character. However, iconv doesn't complain about converting
> it whereas it does complain about converting illegal utf8:
>
> $ /bin/echo -e '\200' | iconv -f iso_8859-1 -t utf8 > /dev/null; echo $?
> 0
See /usr/share/i18n/charmaps/ISO-8859-1.gz:
<U0080> /x80 PADDING CHARACTER (PAD)
> $ /bin/echo -e '\200' | iconv -f utf8 -t utf8 > /dev/null; echo $?
> iconv: illegal input sequence at position 0
> 1
> $
> I think it should consistently complain.
This is normal behavior because UTF-8 is composed of the definite
rule. Please investigate about UTF-8.
> This may be related to bug #231461
I don't think so.
I close this bug.
Regards,
-- gotom
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]