From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32673 invoked by alias); 28 Oct 2009 22:07:57 -0000 Received: (qmail 32665 invoked by uid 22791); 28 Oct 2009 22:07:56 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SARE_SUB_ENC_UTF8,SPF_PASS X-Spam-Check-By: sourceware.org Received: from qw-out-1920.google.com (HELO qw-out-1920.google.com) (74.125.92.149) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 28 Oct 2009 22:07:52 +0000 Received: by qw-out-1920.google.com with SMTP id 4so293319qwk.20 for ; Wed, 28 Oct 2009 15:07:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.2.19 with SMTP id 19mr2273765qch.94.1256767670257; Wed, 28 Oct 2009 15:07:50 -0700 (PDT) In-Reply-To: <4AE8BC12.1060109@cornell.edu> References: <4AE8539E.9080004@cornell.edu> <20091028172216.P60895@mail101.his.com> <4AE8BC12.1060109@cornell.edu> Date: Wed, 28 Oct 2009 22:07:00 -0000 Message-ID: <416096c60910281507n4774534dode1d24ac47d5b0a2@mail.gmail.com> Subject: Re: X11R7.5 and C.UTF-8 From: Andy Koppe To: cygwin-xfree@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2009-10/txt/msg00116.txt.bz2 2009/10/28 Ken Brown: > Maybe my terminology is wrong. =C2=A0But if you start mintty with no .min= ttyrc > and with LANG unset, mintty will set LANG=3DC.UTF-8. Yep. That's primarily for emacs' benefit, which parses the locale env variables itself instead of using setlocale(LC_CTYPE, ""), thereby missing out on Cygwin's default locale. (http://www.opengroup.org/onlinepubs/007908799/xbd/envvar.html says that if LC_ALL, LC_CTYPE, and LANG are all either unset or empty, the implementation-dependent default locale shall be used. For Cygwin 1.7, the default locale uses UTF-8 and not ASCII as assumed by emacs. It works correctly in vim.) Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/