On 3/14/13 9:12 PM, James Linder wrote:
> 
> On 15/03/2013, at 11:32 AM, Alexander Hansen wrote:
> 
>> On 3/14/13 5:33 PM, James Linder wrote:
>>> Hi
>>> same question 2 different ways:
>>>
>>> I want to automatically set the character encoding (for all my terminals) 
>>> How?
>>>
>>> Where does fink's gnome-terminal read its locale from, not the 
>>> /etc/locale.alias etc that linux gnome-terminal uses.
>>>
>>> My linux gnome-terminals default to UTF-8 the fink one to US-ASCII
>>> Thanks
>>> James
>>
>> I'm not quite sure what to look for to compare with what you're seeing.
>>
>> I just installed gnome-terminal and it initially showed only "Unicode
>> (UTF-8)" under the Terminal -> Set Character Encoding menu.
>>
>> And I'm showing the following from _any_ terminal:
>>
>> $ locale
>> LANG="en_US.UTF-8"
>> LC_COLLATE="en_US.UTF-8"
>> LC_CTYPE="en_US.UTF-8"
>> LC_MESSAGES="en_US.UTF-8"
>> LC_MONETARY="en_US.UTF-8"
>> LC_NUMERIC="en_US.UTF-8"
>> LC_TIME="en_US.UTF-8"
>> LC_ALL=
>>
>> (I'm on Mountain Lion)
> 
> Hmmmmm (snowleopard)
> 
> LANG="en_AU.UTF-8"
> LC_COLLATE="en_AU.UTF-8"
> LC_CTYPE="en_AU.UTF-8"
> LC_MESSAGES="en_AU.UTF-8"
> LC_MONETARY="en_AU.UTF-8"
> LC_NUMERIC="en_AU.UTF-8"
> LC_TIME="en_AU.UTF-8"
> LC_ALL=
> 
> Terminal->Set character Encoding (this is default setting) "US-ASCII)
> 
> ls
> ...
> ???????????????.png
> ...
> 
> Terminal->Set character Encoding "Unicode (UTF-8)
> 
> ls
> ...
> R E A L CH I N E S E.png
> ...
> 
> I'm trying to set it automatically
> 
> James
> 
> 

OK, I see the same thing on Snow Leopard for gnome-terminal, with a
different locale setting.

I've been playing around with it, but it doesn't seem like the session
profile is saving properly.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to