From: Jason Rumney <jasonr@f2s.com>
To: Adrian Robert <adrian.b.robert@gmail.com>,
3221@emacsbugs.donarmstrong.com
Cc: Ian Eure <ian@digg.com>, Leo <sdl.web@gmail.com>
Subject: bug#3221: 23.0.93; ns cannot handle nonascii file names
Date: Fri, 24 Jul 2009 06:52:01 +0800 [thread overview]
Message-ID: <4A68E991.5030709@f2s.com> (raw)
In-Reply-To: <4539FC21-8FA9-40F9-ABBD-75541DE82F9B@gmail.com>
Adrian Robert wrote:
> I'd like to fix this.
>
> Do you know why it works from terminal? Is there some code in emacs
> that reads the LANG or some other env setting and sets something in
> emacs? Where? What is the command to set the language environment?
Yes, the command that does it is set-locale-environment in
international/mule-cmds.el, called from command-line as part of the
startup sequence.
>
> While the various methods on the net to set up
> ~/.MacOSX/environment.plist might work, there ought to be some Cocoa
> way to detect language setting directly...
Yes, the way we handle this on Windows is with a function that
initializes certain environment variables from the system APIs if they
are not explicitly set. See init_environment in w32.c, which is called
from main in emacs.c. You probably need to do something similar at
least on Mac OSX, I'm not sure about GnuStep etc, as that is probably
running on a platform that complies with Emacs's expectations about
which environment variables are set.
next prev parent reply other threads:[~2009-07-23 22:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-23 16:47 bug#3221: 23.0.93; ns cannot handle nonascii file names Adrian Robert
2009-07-23 19:40 ` Leo
2009-07-23 22:52 ` Jason Rumney [this message]
2016-01-16 17:06 ` Alan J Third
2016-01-16 18:34 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2009-05-05 14:36 Leo
2009-05-05 21:02 ` Leo
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=4A68E991.5030709@f2s.com \
--to=jasonr@f2s.com \
--cc=3221@emacsbugs.donarmstrong.com \
--cc=adrian.b.robert@gmail.com \
--cc=ian@digg.com \
--cc=sdl.web@gmail.com \
/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.