From owner-freebsd-current@FreeBSD.ORG Mon Apr 6 00:15:50 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB9F1BD5 for ; Mon, 6 Apr 2015 00:15:50 +0000 (UTC) Received: from vps.amdmi3.ru (vps.amdmi3.ru [109.234.38.216]) by mx1.freebsd.org (Postfix) with ESMTP id B1CC61EB for ; Mon, 6 Apr 2015 00:15:50 +0000 (UTC) Received: from hive.panopticon (unknown [213.148.20.85]) by vps.amdmi3.ru (Postfix) with ESMTPS id 243D3B0622 for ; Mon, 6 Apr 2015 03:15:47 +0300 (MSK) Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id CA3C8520 for ; Mon, 6 Apr 2015 03:15:43 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id E6F2A2BC64; Mon, 6 Apr 2015 03:15:44 +0300 (MSK) Date: Mon, 6 Apr 2015 03:15:44 +0300 From: Dmitry Marakasov To: freebsd-current@freebsd.org Subject: Re: Implement base NLS catalog conversion from 8bit locales to utf-8 Message-ID: <20150406001544.GS21982@hades.panopticon> References: <20150405213919.GR21982@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150405213919.GR21982@hades.panopticon> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2015 00:15:51 -0000 * Dmitry Marakasov (amdmi3@amdmi3.ru) wrote: > I've just noticed that though we have NLS files for 8bit locales: > > # ls /usr/share/nls/ru_RU.KOI8-R/ > ee.cat grep.cat libc.cat tcsh.cat > > we don't for UTF-8: > > # ls /usr/share/nls/ru_RU.UTF-8/ > tcsh.cat > > Seemingly this is easily fixable by just converting catalogs with iconv > which we have in base system. Could anyone give me a hint on how it's > better to implement this, as I'd like to. I've implemented this. See https://reviews.freebsd.org/D2232 -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://amdmi3.ru