From owner-svn-ports-all@FreeBSD.ORG Thu Jan 30 12:27:02 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41A3FBCB; Thu, 30 Jan 2014 12:27:02 +0000 (UTC) Received: from mailrelay008.isp.belgacom.be (mailrelay008.isp.belgacom.be [195.238.6.174]) by mx1.freebsd.org (Postfix) with ESMTP id 5B2341627; Thu, 30 Jan 2014 12:27:00 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al8GALtD6lJR8apO/2dsb2JhbABZgwyEELcYgwaBBxd0giUBAQEDASMzHgUFCwsYAgIFIQICDyoeBogQDAGrBqBgF4EpjSYzB4JvgUkEmCeSIIMuOw Received: from 78.170-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.170.78]) by relay.skynet.be with ESMTP; 30 Jan 2014 13:26:53 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id s0UCQqV4058051; Thu, 30 Jan 2014 13:26:52 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Thu, 30 Jan 2014 13:26:52 +0100 From: Tijl Coosemans To: =?UTF-8?Q?G=C3=A1bor_K=C3=B6vesd=C3=A1n?= Subject: Re: svn commit: r341775 - in head: Mk/Uses converters/libiconv devel/gettext Message-ID: <20140130132652.5d945d44@kalimero.tijl.coosemans.org> In-Reply-To: <52EA297E.6030607@kovesdan.org> References: <201401292024.s0TKOomF031237@svn.freebsd.org> <52E97640.5020703@freebsd.org> <52EA297E.6030607@kovesdan.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Andrey Chernov , ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 12:27:02 -0000 On Thu, 30 Jan 2014 11:29:18 +0100 G=C3=A1bor K=C3=B6vesd=C3=A1n wrote: > On 2014.01.29. 22:44, Andrey Chernov wrote: >> On 30.01.2014 0:24, Tijl Coosemans wrote: >>>> - Add two new arguments to USES=3Diconv so ports can indicate they u= se GNU >>>> iconv extensions that the base system iconv doesn't support yet: >>>> * wchar_t: port uses the special WCHAR_T character conversion. >>>> * translit: port uses //TRANSLIT or //IGNORE conversion options. >>>> Adding one or both of these arguments makes the port depend on >>>> converters/libiconv for now. >>>> - Allow installation of converters/libiconv on FreeBSD 10+. >> Delete-restore loop. >> What people smoke, replacing gnu iconv with system one without even >> implementing //TRANSLIT and //IGNORE first? >> At this stage looks more logical to implement them in the system iconv, >> rather than to return gnu one back. That's not an option for users on 10.0 release. > In fact, system iconv uses //TRANSLIT by default. What it does not=20 > implement is the lack of //TRANSLIT. This is conformant to POSIX. I see. I don't think we have to implement the lack of //TRANSLIT. What we do need are //IGNORE and WCHAR_T. Also, the transliteration is different. The example code I was given prints the unicode character "=C5=BD": # cat test.php # php test.php Z With system iconv this prints "?" and with libiconv "Z".