GNU bug report logs - #22392
25.0.50; NS Emacs run from OS X GUI doesn't set locale

Previous Next

Package: emacs;

Reported by: Alan Third <alan <at> idiocy.org>

Date: Sun, 17 Jan 2016 14:28:02 UTC

Severity: normal

Tags: patch

Found in version 25.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Random832 <random832 <at> fastmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#22392: 25.0.50; NS Emacs run from OS X GUI doesn't set locale
Date: Sun, 17 Jan 2016 17:38:24 -0500
Alan Third <alan <at> idiocy.org> writes:
> Default coding system (for new files):
>   1 -- iso-latin-1-unix (alias: iso-8859-1-unix latin-1-unix)

Is this really appropriate? I'm not sure like the fact that it's not
UTF-8. How does Terminal (and iTerm) know to use UTF-8?

> Priority order for recognizing coding systems when reading files:
>   1. iso-latin-1 (alias: iso-8859-1 latin-1)
>   2. utf-8 (alias: mule-utf-8)

This one also makes me wonder if the encoding specified in
.CFUserTextEncoding/__CF_USER_TEXT_ENCODING should be used for a second
choice. Which may be an encoding that may not map directly to a locale.





This bug report was last modified 9 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.