svn commit: r341775 - in head: Mk/Uses converters/libiconv devel/gettext

Andrey Chernov ache at freebsd.org
Thu Jan 30 23:11:49 UTC 2014


On 31.01.2014 3:01, Andrey Chernov wrote:
>> And lack of //TRANSLIT isn't as bad as I initially thought it was because
>> system iconv does transliteration by default.  It's just that the output
>> is not as good as with libiconv.  The examples so far only involve ASCII
>> and ISO-8859-1.  I do seem to get good transliteration with ISO-8859-15.
> 
> Transliteration by converting everything to '?' (that's all I got in my
> testings with several charsets, including 8859-15) means transliteration
> is simple not working, it isn't 'not as good as'. Despite of false
> claims in the system iconv code, see just a definition of
> transliteration term.

Just an example:
# perl -e 'print "\xc1\n";' | iconv -f "ISO8859-15" -t "US-ASCII//TRANSLIT"
?
iconv: warning: invalid characters: 1
(what ever this warning does here?)

# perl -e 'print "\xc1\n";' | /usr/local/bin/iconv -f "ISO8859-15" -t "US-ASCII//TRANSLIT"
'A




More information about the svn-ports-all mailing list