[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: Stephen J. Turnbull
Subject: Re: [Emacs-diffs] trunk r114483: * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
Date: Wed, 02 Oct 2013 12:12:31 +0900

Stefan Monnier writes:

 > IIUC the encoding used under Darwin for filenames is always utf-8.

In practice, yes, in theory, no.  *Darwin* is just a BSD *nix kernel
(more precisely, FreeBSD kernel functions wrapped around a Mach
microkernel), and at that level, they're just byte sequences.  Mac OS
X defaults to a file system which enforces UTF-8, that's all.  But
consider NFS mounts (whatever the remote system wants) and removable
media (most often VFAT with some bogus Microsoft encoding).

 > More to the point it uses NFD canonicalization, performed by the OS
 > when needed;

Sort of true, for values of "when needed" == "when the actual
filesystem is HFS+".

reply via email to

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