Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Setting locale of shell?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting locale of shell?



On 22-Dec-2009, at 19:22, Andre-John Mas wrote:

> Hi,
>
> I was listing some files, with non-latin based names, in the terminal and saw that they were displaying as "??????". Typing "locale" I see it is defined as follows:
>
> LANG=
> LC_COLLATE="C"
> LC_CTYPE="C"
> LC_MESSAGES="C"
> LC_MONETARY="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_ALL=
>
> I would like to be able to use the "en_US.UTF-8" locale, but I have no idea to make it default to this. Can anyone elaborate?

A bit more hunting revealed all I needed to do was:

export LC_ALL=en_US.UTF-8

I have added that to my .profile, so all should be well.

André-John

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-userlevel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Setting locale of shell? (From: Andre-John Mas <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.