Subject: Re: bug#22392: 25.0.50; NS Emacs run from OS X GUI doesn't set locale

From: Random832 <[email-masked]>
Date: Sun, 17 Jan 2016 17:38:24 -0500

Alan Third <[email-masked]> 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.