On Jun 11, 2010, at 03:57 , Pen Ttt wrote:

> my  system:ubuntu10.04+firefox
> shell  terminal  :utf-8
> how to set my irb terminal   with the default ASCII encoding?

I'm kinda surprised that `irb` doesn't have a -K flag... so read up on $KCODE.