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

Andrey Chernov ache at freebsd.org
Thu Jan 30 23:01:26 UTC 2014


On 31.01.2014 1:53, Tijl Coosemans wrote:
> //IGNORE I've never encountered yet and I don't know why anyone would
> want to use it.

It seems the code have some //IGNORE handling hooks, but I don't test is
it really work or just fake as "transliteration", see iconv.c:

        handle->cv_shared->ci_discard_ilseq = strcasestr(out, "//IGNORE");
        handle->cv_shared->ci_hooks = NULL;

        return ((iconv_t)(void *)handle);

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


More information about the svn-ports-all mailing list