Excerpts from William Morgan's message of Wed Jan 16 04:23:35 +0100 2008:
> Sorry, meant to reply to list.
> 
> Reformatted excerpts from nicolas.pouillard's message of 2008-01-15:
> > Still  not  working,  gettext  is  guessing  ASCII-US but my LC_CTYPE
> > contains en_US.UTF-8.
> 
> Well crap. Do you have a $LC_CTYPE environment variable defined, that
> it's not picking up on?

Yes $LC_CTYPE is set to en_US.UTF-8. I've looked at the gettext code and found 
something:

In locale_posix.rb:
...
      [ENV["LC_ALL"], ENV["LC_MESSAGES"], ENV["LANG"],
...

In locale_win32.rb:
...
      ["LC_ALL", "LC_CTYPE", "LC_MESSAGES", "LANG"].each do |env|
...

Adding LC_CTYPE to the first list solve my problem...

-- 
Nicolas Pouillard aka Ertai
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to