[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r114483: * term/ns-win.el (ns-initialize-window-

From: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r114483: * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
Date: Tue, 01 Oct 2013 20:43:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> No they should not IMHO.  As they must be started from a teminal, LANG is
> either correct or set to another value for some purpose.

IIUC the encoding used under Darwin for filenames is always utf-8.
More to the point it uses NFD canonicalization, performed by the OS when
needed; so pretending these are "byte sequences" that can use any
encoding you feel like, as is the case in POSIX, is not an option.

I guess it's OK to obey the user who wants to shot himself in the foot.
But I do wonder: is LANG really always set in a terminal?  IF so, why
and by whom?  Will LANG also be set properly if you use some other
terminal than Terminal.app (e.g. let's say you run `emacs -nw' inside
an Emacs.app started from the GUI)?

>> IIUC this "utf-8 everywhere" is a property of the OS (Darwin) not of the
>> GUI/toolkit.  So it should apply to tty-only uses under Darwin and it
>> should not apply to GNUstep.
> Makes sense, fixed in trunk.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]