From owner-freebsd-i18n@freebsd.org Mon Apr 10 12:24:36 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 70E6BD36CB0 for ; Mon, 10 Apr 2017 12:24:36 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F0268920 for ; Mon, 10 Apr 2017 12:24:35 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-lf0-f65.google.com with SMTP id 75so2918812lfs.3 for ; Mon, 10 Apr 2017 05:24:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JZl6nNWe0vv+L0B706wHOcWbmI3TTG1+np8wEUJ9qls=; b=Nqbpsy9JymDF/bLy5c6lX12tsiKOo2MZBjScpqwPqBaTfWBNI95TIcBzU7QlFLoAqK E3xsmb1+FtuhCVk1vbWFZ03ygeDfu3fmpbadG1AzR3QEg3Mv9f+A7NtaXiIqCyDOGnf3 H1VEZ4OB+pRYVPbtZrtoaUHhwsOXVP9dHqDJs9uSNO2zYcdbSFbN8+9TgqeYmNP1qA/S +/2259pl/WdnJBn64unVgekS75vR+sm37JiQ2gAuz5WGP3TOaW0X115ldg09scGeeqiJ PwLRrAXC2+yVan09tUUlynNzixltmw9AdObSbZQe4GZIpwJcYRw6TQYI3zsDP23PZIYr aTUw== X-Gm-Message-State: AFeK/H3hyb3WRD8sZ1h8kYW/UlL7CPbjCTRUYk1M27E8ATdSPsHEW4VIIDa0WpqBO/7dxQ== X-Received: by 10.46.22.66 with SMTP id 2mr15189775ljw.120.1491825113254; Mon, 10 Apr 2017 04:51:53 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id h23sm2806506lji.21.2017.04.10.04.51.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Apr 2017 04:51:52 -0700 (PDT) Subject: Re: citrus/BSD iconv doesn't respect ICONV_SET_DISCARD_ILSEQ flag To: lev@FreeBSD.org, freebsd-i18n@freebsd.org References: <137414834.20170409140646@serebryakov.spb.ru> <53b57139-8e68-da83-8fe8-e132ea524b6d@freebsd.org> From: Andrey Chernov Message-ID: Date: Mon, 10 Apr 2017 14:51:49 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Language: ru-English 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 12:24:36 -0000 On 10.04.2017 13:41, Lev Serebryakov wrote: > 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") > I isn't, it just being set/unset without affecting anything. Grep ci_discard_ilseq through BSD iconv sources.