Setting locale

Christopher Jones jonesc at hep.phy.cam.ac.uk
Thu May 22 07:44:34 PDT 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2030 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140522/e2d164c3/attachment.p7s>


More information about the macports-users mailing list