From: Pen Ttt on 11 Jun 2010 06:57 my system:ubuntu10.04+firefox shell terminal :utf-8 how to set my irb terminal with the default ASCII encoding? Attachments: http://www.ruby-forum.com/attachment/4795/shell_terminal.png -- Posted via http://www.ruby-forum.com/.
From: Ryan Davis on 11 Jun 2010 19:32 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.
From: Pen Ttt on 11 Jun 2010 20:59 irb(main):001:0> $KCODE = "U" => "U" when i add $KCODE = "U",the output is ok. i input in shell :irb,need input $KCODE = "U" everytime? can i set it?when i open irb , the code is U? -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: Mongrel is getting Terminate Next: require command problem |