bug-gnu-libiconv
[Top][All Lists]
Advanced

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

Re: [bug-gnu-libiconv] Possible bug in iconv 1.13?


From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] Possible bug in iconv 1.13?
Date: Sun, 16 Nov 2014 23:37:08 +0100
User-agent: KMail/4.8.5 (Linux/3.2.0-64-generic; KDE/4.8.5; x86_64; ; )

Edward Burns wrote on 2013-10-28:
> I'm using iconv from Emacs VM mode.  Here is a message I just posted to
> gnu.emacs.vm.info that I think may indicate a bug in iconv.

>       ("utf-8" "iso-8859-1" "iconv -f utf-8 -t iso-8859-1")

It's not a bug. The mail contained a character U+2013 in the line
  * *No appointment necessary* – connect right away
and it cannot be converted to ISO-8859-1 without lossy conversions.

What you can do is to allow lossy conversions:
    iconv -f utf-8 -t iso-8859-1//TRANSLIT

For the meaning of //TRANSLIT, see
https://www.gnu.org/savannah-
checkouts/gnu/libiconv/documentation/libiconv-1.13/iconv_open.3.html
or the GNU C Library documentation.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]