citrus/BSD iconv doesn't respect ICONV_SET_DISCARD_ILSEQ flag

Lev Serebryakov lev at FreeBSD.org
Mon Apr 10 10:42:03 UTC 2017


On 09.04.2017 16:06, Andrey Chernov wrote:

> I need to add that our iconv also don't support anything after //
> forcing ports using GNU iconv:
>         /*
>          * Remove anything following a //, as these are options (like
>          * //ignore, //translate, etc) and we just don't handle them.
>          * This is for compatibility with software that uses these
>          * blindly.
>          */
> //ignore is analogue of ICONV_SET_DISCARD_ILSEQ on.
 But later in code:

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

 So, "//IGNORE" is "supported" (in same way as ICONV_SET_DISCARD_ILSEQ
is "supported")

-- 
// Lev Serebryakov


More information about the freebsd-i18n mailing list