all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: emacs-devel@gnu.org
Subject: Emacs fails to use default locale
Date: Wed, 25 Nov 2009 14:08:22 -0500	[thread overview]
Message-ID: <4B0D80A6.8010208@cornell.edu> (raw)

According to

   http://www.opengroup.org/onlinepubs/007908799/xbd/envvar.html

if LC_ALL, LC_CTYPE, and LANG are all either unset or empty, then the 
implementation-dependent default locale is supposed to be used.  My 
understanding is that this should be done by using setlocale(LC_CTYPE, 
"").  But emacs's locale initialization seems to just use the 
environment variables, so it doesn't pick up the default locale if the 
variables are unset.

Ken




             reply	other threads:[~2009-11-25 19:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-25 19:08 Ken Brown [this message]
2009-11-27 15:49 ` Emacs fails to use default locale Jan Djärv
2009-11-27 18:06   ` Ken Brown
2009-11-28 15:20     ` Ken Brown

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=4B0D80A6.8010208@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=emacs-devel@gnu.org \
    /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.