[TxMt] Re: PyMate locale not set correctly?
David Peckham
dave.peckham at me.com
Wed Sep 3 10:09:49 UTC 2008
Allan,
Thank you for explaining that. I don't set LC_ALL in my .bash_profile,
though my environment does have:
LANG=en_US.UTF-8
I'll set LC_ALL in TM to make it match the shell.
Dave
On Sep 3, 2008, at 3:03 AM, Allan Odgaard wrote:
> On 2 Sep 2008, at 19:24, David Peckham wrote:
>
>> [...]
>> If TM were setting LC_CTYPE correctly, wouldn't PyMate produce the
>> same output (stdout) as I saw in the shell?
>
> No. You see 6 values, one of them is LC_CTYPE, and that one does show
> UTF8, the rest however have their default value, because no-one has
> changed it, and I am not sure it really should be changed (or to what
> you want it changed to) -- these other values refer to the monetary
> system, numeric system, language used for messages (catalog files)
> etc.
>
> There is no way TM would know how to set that correctly up for you,
> you have to do that yourself, if this is important for you.
>
> It sounds like you set LC_ALL in your shell startup file, you can set
> that variable in TM as well, and all the values will inherit from
> that.
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
More information about the textmate
mailing list