Subject: bug#3221: 23.0.93; ns cannot handle nonascii file names

From: Adrian Robert <[email-masked]>
Date: Thu, 23 Jul 2009 12:47:03 -0400

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3221

Hi,

> After some investigation with Ian's help, I have found a workaround by
> setting the language environment to UTF-8.
>
> The bug seems to be that Emacs.app is completely unaware of the  
> language
> setting of OS X.

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?

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...