This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: X11R7.5 and C.UTF-8
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Sat, 28 Nov 2009 13:34:59 +0000
- Subject: Re: X11R7.5 and C.UTF-8
- References: <4AE8539E.9080004@cornell.edu> <20091028172216.P60895@mail101.his.com> <4AE8BC12.1060109@cornell.edu> <416096c60910281507n4774534dode1d24ac47d5b0a2@mail.gmail.com> <4B1115EC.7010308@cornell.edu>
- Reply-to: cygwin-xfree at cygwin dot com
2009/11/28 Ken Brown:
> On 10/28/2009 6:07 PM, Andy Koppe wrote:
>>
>> 2009/10/28 Ken Brown:
>>>
>>> Maybe my terminology is wrong. ÂBut if you start mintty with no .minttyrc
>>> and with LANG unset, mintty will set LANG=C.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.
>
> Andy,
>
> I've sent a report about this to the emacs-devel list
> (http://lists.gnu.org/archive/html/emacs-devel/2009-11/threads.html#01216).
> ÂBut I don't have a good understanding of locale issues. ÂCould you take a
> look and see if what I said is accurate or if more should be said?
Thanks Ken, I think you've got that all correct, including pointing
the finger at mule-cmds.el as the suspect. I'll keep an eye on that
thread.
One more thing that might be worth mentioning is
'nl_langinfo(CODESET)' for enquiring about the character encoding.
(It's actually being used in a couple of places in the emacs sources
already, in fns.c and w32proc.c, but I don't know what significance
those files have.)
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/