From: Austin Ziegler Date: 2006-11-09T13:24:08+09:00 Subject: Re: Unicode in irb on windows (respectively script/console in instantrails) On 11/8/06, michael.raidel@gmail.com wrote: > > Ack my bad. I had forgotten: you can specify the UTF-8 codepage (CP_UTF8) with: > > > > chcp 65001 > > Thank you Austin for the nice hint! > > The problem is, that as soon as I switch the codepage, irb (and also > script/console) stops working (it doesn't even start anymore, it just > quits immediately without an error-message). That's one of the caveats mentioned: batch files no longer work. I don't know why. However, if you have Ruby installed in C:\Ruby, you can do: copy C:\Ruby\bin\irb C:\Ruby\bin\irb.rb irb.rb Or: ruby C:\Ruby\bin\irb And you'll get a working irb. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca