all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: "Jan Djärv" <jan.h.d@swipnet.se>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
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	[thread overview]
Message-ID: <87txh0qsbk.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <jwv4n90fr1k.fsf-monnier+emacsdiffs@gnu.org>

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	other threads:[~2013-10-02  3:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1VQKV4-0004YL-Qw@vcs.savannah.gnu.org>
2013-09-30 18:36 ` [Emacs-diffs] trunk r114483: * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system Stefan Monnier
2013-09-30 19:17   ` Jan Djärv
2013-09-30 22:38     ` Stefan Monnier
2013-10-01 18:28       ` Jan Djärv
2013-10-02  0:43         ` Stefan Monnier
2013-10-02  3:12           ` Stephen J. Turnbull [this message]
2013-10-03  1:51             ` Stefan Monnier
2013-10-03  7:48               ` Andreas Schwab
2013-10-03  9:42                 ` Stephen J. Turnbull
2013-10-03 14:39                 ` Stefan Monnier
2013-10-02  6:29           ` Jan Djärv
2013-10-03  1:53             ` Stefan Monnier
2013-10-03 17:18               ` Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txh0qsbk.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.