Bug#37012: Not a bug
Package: locales
Version: 2.3.2-2
Followup-For: Bug #37012
[Petter Reinholdtsen]
> [Jeff Bailey]
> > Please provide a testcase to show that this bug still occurs.
>
> The problem still exists:
>
> The letter ø (Octal 370) is not a valid UTF-8 sequence:
>
> % echo -e 'hei \370 foo' | /usr/bin/iconv -f utf-8 -t iso-8859-1//TRANSLIT
> hei /usr/bin/iconv: illegal input sequence at position 4
> %
>
> As you can see, iconv stops after printing 'hei ', and never prints '
> foo'.
Hi,
according to http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.html
If a sequence of input bytes does not form a valid character in the
specified codeset, conversion stops after the previous successfully
converted character.
So iconv does its job, and this bugreport should be closed.
Denis
Reply to: