Re: citrus/BSD iconv doesn't respect ICONV_SET_DISCARD_ILSEQ flag
Lev Serebryakov <[email protected]> Mon, 10 Apr 2017 14:59:43 +0300
| Newsgroups | gmane.os.freebsd.devel.internationalization |
|---|---|
| Organization | FreeBSD |
| Message-ID | <[email protected]> |
On 10.04.2017 14:51, 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") >> > I isn't, it just being set/unset without affecting anything. Grep > ci_discard_ilseq through BSD iconv sources. It is why I wrote "supported" not supported :( -- // Lev Serebryakov _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-i18n To unsubscribe, send any mail to "[email protected]"