Just to confirm - I could not enter anything outside ASCII either. It  
seems that the irb (which is used by script/console) input code is a  
bit dumb...

I forgot exact solution but I thing I did something like simple  
redirection with pipe 'cat | irb' or 'cat | script/console' and I  
could enter the characters....

izidor

On 13.2.2008, at 4:32, Brad Carson wrote:

> I'm unable to enter characters like é (in Café) into script/console  
> but
> they work just fine in the regular terminal.  I can't seem to find
> anyone ever having an issue with this out there.
>
> I'd be so grateful for any ideas.
>
> # in config/environment.rb
> ENV['LANG']  # => 'en_US.UTF-8'
> ENV['LC_CTYPE'] # => 'en_US.UTF-8'
>
> # from 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="en_US.UTF-8"
>
> System config:
> Rails 2.0.2
> Ruby 1.8
> Mac OS X Leopard
>
> Regards,
> Brad
> -- 
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Railsi18n-discussion mailing list
> Railsi18n-discussion@rubyforge.org
> http://rubyforge.org/mailman/listinfo/railsi18n-discussion

_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to