From owner-freebsd-i18n@freebsd.org Mon Apr 10 10:42:03 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 07F28D351FF for ; Mon, 10 Apr 2017 10:42:03 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.not-for.work (onlyone.not-for.work [IPv6:2a01:4f8:201:6350::2]) by mx1.freebsd.org (Postfix) with ESMTP id C4F86DAD; Mon, 10 Apr 2017 10:42:02 +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 6AD7EFF5; Mon, 10 Apr 2017 13:42:00 +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 13:41:59 +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: <53b57139-8e68-da83-8fe8-e132ea524b6d@freebsd.org> 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 10:42:03 -0000 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