Characters '{', '[' in irb

I have two computers (Windows XP on both) where Ruby is installed. On
one of them everything is working fine, but the other one isn’t. If I
copy these lines:

{“one” => 1}
[“one”, “two”, “three”]

and paste it into irb I get this instead:

“one” => 1
“one”, “two”, “three”

And then I get syntax error for both.

Why isn’t all of the characters copied? It’s also impossible to type
these characters.

Regards
Emil

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/172262

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs