From owner-freebsd-i18n@freebsd.org Mon Apr 10 11:59:51 2017 Return-Path: Delivered-To: freebsd-i18n@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95CBCD37315 for ; Mon, 10 Apr 2017 11:59:51 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id 625183CD; Mon, 10 Apr 2017 11:59:51 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.17.133] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.not-for.work (Postfix) with ESMTPSA id C2A2B30; Mon, 10 Apr 2017 14:59:43 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: Re: citrus/BSD iconv doesn't respect ICONV_SET_DISCARD_ILSEQ flag References: <137414834.20170409140646@serebryakov.spb.ru> <53b57139-8e68-da83-8fe8-e132ea524b6d@freebsd.org> To: Andrey Chernov , freebsd-i18n@freebsd.org From: Lev Serebryakov Organization: FreeBSD Message-ID: Date: Mon, 10 Apr 2017 14:59:43 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-i18n@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD Internationalization Effort List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2017 11:59:51 -0000 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