From owner-svn-ports-all@FreeBSD.ORG Fri Jan 31 08:53:27 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 117C8E01; Fri, 31 Jan 2014 08:53:27 +0000 (UTC) Received: from mailrelay009.isp.belgacom.be (mailrelay009.isp.belgacom.be [195.238.6.176]) by mx1.freebsd.org (Postfix) with ESMTP id 261391872; Fri, 31 Jan 2014 08:53:25 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AowGAClk61JR8apO/2dsb2JhbABZgwyBA4MNtyuDCIEGF3SCJQEBBSMzIxALDgoCAgUhAgIPKh4GiBwBq1yhKBeBKY0mMweCb4FJBJgokiKDLjs 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; 31 Jan 2014 09:53:01 +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 s0V8r03h001359; Fri, 31 Jan 2014 09:53:00 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Fri, 31 Jan 2014 09:53:00 +0100 From: Tijl Coosemans To: Andrey Chernov Subject: Re: svn commit: r341775 - in head: Mk/Uses converters/libiconv devel/gettext Message-ID: <20140131095300.2bbe5c18@kalimero.tijl.coosemans.org> In-Reply-To: <52EADC32.6050206@freebsd.org> References: <201401292024.s0TKOomF031237@svn.freebsd.org> <52E97640.5020703@freebsd.org> <52EA297E.6030607@kovesdan.org> <20140130132652.5d945d44@kalimero.tijl.coosemans.org> <52EA862C.30201@freebsd.org> <20140130225350.5260dc47@kalimero.tijl.coosemans.org> <52EAD9BC.4060707@freebsd.org> <52EADC32.6050206@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?G=E1bor_K=F6vesd=E1n?= , svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, 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: Fri, 31 Jan 2014 08:53:27 -0000 On Fri, 31 Jan 2014 03:11:46 +0400 Andrey Chernov wrote: > On 31.01.2014 3:01, Andrey Chernov wrote: >>> And lack of //TRANSLIT isn't as bad as I initially thought it was becau= se >>> system iconv does transliteration by default. It's just that the output >>> is not as good as with libiconv. The examples so far only involve ASCII >>> and ISO-8859-1. I do seem to get good transliteration with ISO-8859-15. >>=20 >> Transliteration by converting everything to '?' (that's all I got in my >> testings with several charsets, including 8859-15) means transliteration >> is simple not working, it isn't 'not as good as'. Despite of false >> claims in the system iconv code, see just a definition of >> transliteration term. >=20 > Just an example: > # perl -e 'print "\xc1\n";' | iconv -f "ISO8859-15" -t "US-ASCII//TRANSLI= T" > ? > iconv: warning: invalid characters: 1 > (what ever this warning does here?) >=20 > # perl -e 'print "\xc1\n";' | /usr/local/bin/iconv -f "ISO8859-15" -t "US= -ASCII//TRANSLIT" > 'A These still involve US-ASCII. Try these: small i with macron: =C4=AB # perl -e 'print "\xc4\xab\n";' | iconv -f "UTF-8" -t "ISO-8859-15//TRANSLI= T" i small dutch ij: =C4=B3 # perl -e 'print "\xc4\xb3\n";' | iconv -f "UTF-8" -t "ISO-8859-15//TRANSLI= T" ij