all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonrumney@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Problem with (user-full-name) Character Encoding
Date: Sat, 19 Dec 2009 01:41:40 -0800 (PST)	[thread overview]
Message-ID: <93a5c8b8-e6d0-4b41-bd86-eca431ff55f7@x5g2000prf.googlegroups.com> (raw)
In-Reply-To: fc024e53-b869-4a98-8a31-ac1f44987956@u7g2000yqm.googlegroups.com

On Dec 18, 4:34 pm, Nordlöw <per.nord...@gmail.com> wrote:
> What variables control how (user-full-name) encodes its characters?

(user-full-name) without any arguments just returns the variable user-
full-name, which is encoded in Emacs internal encoding once set.  It
is probably initialised from your environment. which will be decoded
using locale-coding-system.

> From the shell and from within my Emacs, using (getenv), LANG has the
> correct value "sv_SE.UTF-8".

I'm not sure what has precedence, but some of the LC_* environment
variables also affect locale-coding-system, as will calling set-
language-environment from your .emacs.


      parent reply	other threads:[~2009-12-19  9:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-18  8:34 Problem with (user-full-name) Character Encoding Nordlöw
2009-12-18  9:59 ` Eli Zaretskii
2009-12-19  9:41 ` Jason Rumney [this message]

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=93a5c8b8-e6d0-4b41-bd86-eca431ff55f7@x5g2000prf.googlegroups.com \
    --to=jasonrumney@gmail.com \
    --cc=help-gnu-emacs@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.