Setting locale

Gustavo Seabra gustavo.seabra at gmail.com
Thu May 22 07:52:43 PDT 2014


Thanks,

Although the definitions may seem a little weird (English in Brazil) they are actually there:

https://dl.dropboxusercontent.com/u/8599624/Lang.png

Do you see anything that could be causing the error?

Thanks,
Gustavo Seabra



On May 22, 2014, at 11:44 AM, Christopher Jones <jonesc at hep.phy.cam.ac.uk> wrote:

> Hi,
> 
> I *think* you want
> 
> System Preferences -> Language and Region
> 
> I have mine set to GB, and get
> 
> pb-d-128-141-155-246 ~ > locale
> LANG="en_GB.UTF-8"
> LC_COLLATE="en_GB.UTF-8"
> LC_CTYPE="en_GB.UTF-8"
> LC_MESSAGES="en_GB.UTF-8"
> LC_MONETARY="en_GB.UTF-8"
> LC_NUMERIC="en_GB.UTF-8"
> LC_TIME="en_GB.UTF-8"
> LC_ALL=
> 
> yours appears to be unset…
> 
> Chris
> 
> On 22 May 2014, at 4:39pm, Gustavo Seabra <gustavo.seabra at gmail.com> wrote:
> 
>> Hi guys,
>> 
>> I apologize for wasting your time with such basic question, but how do I set the locale (systemwide) in MacPorts?
>> 
>> I’m running MacPorts on OS X 10.9.3, and every time I try to run an X application I get the message:
>> 
>> $ xeyes
>> Warning: locale not supported by Xlib, locale set to C
>> 
>> Mostly, things still work, but it’s annoying. I checked, and I have:
>> 
>> $ locale
>> LANG=
>> LC_COLLATE="C"
>> LC_CTYPE="UTF-8"
>> LC_MESSAGES="C"
>> LC_MONETARY="C"
>> LC_NUMERIC="C"
>> LC_TIME="C"
>> LC_ALL=
>> 
>> Especially, LC_CTYPE="UTF-8” seems suspicious, as “UTF-8” doesn’t seem to be a valid specification. I have never set those, so I wonder how they get set in the first place. I understand I could just reset them all one by one, but I’d like to get a more general solution.
>> 
>> Thanks, 
>> Gustavo Seabra
>> 
>> 
>> 
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/macports-users
> 



More information about the macports-users mailing list