From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.help Subject: Re: Problem with (user-full-name) Character Encoding Date: Sat, 19 Dec 2009 01:41:40 -0800 (PST) Organization: http://groups.google.com Message-ID: <93a5c8b8-e6d0-4b41-bd86-eca431ff55f7@x5g2000prf.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1261219303 13287 80.91.229.12 (19 Dec 2009 10:41:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Dec 2009 10:41:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 19 11:41:36 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NLwkf-0004Wf-Jl for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Dec 2009 11:41:33 +0100 Original-Received: from localhost ([127.0.0.1]:46444 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLwkf-0005o9-HB for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Dec 2009 05:41:33 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!x5g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 118.101.105.51 Original-X-Trace: posting.google.com 1261215700 21855 127.0.0.1 (19 Dec 2009 09:41:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 19 Dec 2009 09:41:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x5g2000prf.googlegroups.com; posting-host=118.101.105.51; posting-account=pYxWjwkAAACsHSUNDoi5N05LVCTP7PVM User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.1.5) Gecko/20091123 Iceweasel/3.5.5 (like Firefox/3.5.5; Debian-3.5.5-1),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:175668 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70745 Archived-At: On Dec 18, 4:34=A0pm, Nordl=F6w 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.