[TxMt] Word Count

Hans-Jörg Bibiko bibiko at eva.mpg.de
Wed May 28 18:20:13 UTC 2008


On 28.05.2008, at 19:59, Allan Odgaard wrote:

> On 28 May 2008, at 19:49, Hans-Jörg Bibiko wrote:
>
>> [...]
>> Oops. Of course, one has to set LC_ALL in the Ruby script.
>
> TextMate sets LC_CTYPE for the programs it executes.

Yes, I know, but I do not know if Ruby by itself starts a system  
command via `` whether that command inherits the locale settings?


> So on a normal system it should not be necessary to set this up in  
> the script. However, other locale variables take precedence over  
> LC_CTYPE, so most likely you have anther one set (to something  
> other than UTF-8).
Actually no.

--Hans


More information about the textmate mailing list