Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2017 13:41:59 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Andrey Chernov <ache@freebsd.org>, freebsd-i18n@freebsd.org
Subject:   Re: citrus/BSD iconv doesn't respect ICONV_SET_DISCARD_ILSEQ flag
Message-ID:  <fd3c6dc7-59a9-1644-bd7c-423aa09671ab@FreeBSD.org>
In-Reply-To: <53b57139-8e68-da83-8fe8-e132ea524b6d@freebsd.org>
References:  <137414834.20170409140646@serebryakov.spb.ru> <53b57139-8e68-da83-8fe8-e132ea524b6d@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fd3c6dc7-59a9-1644-bd7c-423aa09671ab>