From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: windows-1251 language environment Date: Tue, 14 Oct 2003 23:33:07 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200310032356.54476.pogonyshev@gmx.net> <200310060013.52049.pogonyshev@gmx.net> <200310070254.LAA11795@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066171777 13546 80.91.224.253 (14 Oct 2003 22:49:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2003 22:49:37 +0000 (UTC) Cc: pogonyshev@gmx.net, emacs-devel@gnu.org, jasonr@f2s.com, Kenichi Handa Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Oct 15 00:49:35 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9Xyw-0006Jm-00 for ; Wed, 15 Oct 2003 00:49:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9Xyw-0004ws-00 for ; Wed, 15 Oct 2003 00:49:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9Xty-0007wt-GO for emacs-devel@quimby.gnus.org; Tue, 14 Oct 2003 18:44:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A9XrP-0005cd-Qd for emacs-devel@gnu.org; Tue, 14 Oct 2003 18:41:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A9XkF-0006oh-9W for emacs-devel@gnu.org; Tue, 14 Oct 2003 18:34:54 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1A9XjF-0005h1-0i for emacs-devel@gnu.org; Tue, 14 Oct 2003 18:33:21 -0400 Original-Received: from [148.79.80.39] (helo=albion.dl.ac.uk) by mx20.gnu.org with esmtp (Exim 4.24) id 1A9Xj8-00064B-D8 for emacs-devel@gnu.org; Tue, 14 Oct 2003 18:33:14 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 1A9Xj1-0001mf-00; Tue, 14 Oct 2003 23:33:07 +0100 Original-To: Stefan Monnier User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17097 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17097 I installed some stuff I had hanging around which should DTRT if, for instance, you set LANG to `ru_RU.cp1251'. Of course, setlocale in this environment will typically fail (on a GNU system, at least). That may cause trouble by provoking messages from subprocesses, for instance. This also isn't the way I think locale processing should be done properly, especially as it doesn't deal with settings for LC_TIME and others, which should be matched on the territory. (Note that in Emacs 22 we stand a better chance of doing something sensible with the LC_COLLATE part of the locale if we can use facilities from libc.)