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

Bug#37012: gconv-modules: iconv fails if it cannot map between charsets



[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'.

And the //TRANSLIT options is not mentioned when I use 'iconv --help',
and the manual page is just as silent about the posibility.



Reply to: