From: John W Higgins Date: 2010-06-12T10:20:00+09:00 Subject: Re: Mechanize output:strange number --00c09f93d92ca228ef0488cb0d00 Content-Type: text/plain; charset=ISO-8859-1 Good Afternoon, On Fri, Jun 11, 2010 at 5:59 PM, Pen Ttt wrote: > 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/. > > You need a .irbrc file which will run automatically for you when you start IRB. You should just be able to put your $KCODE= 'U' inside a .irbrc (note the dot (.) please) file within your home folder. John --00c09f93d92ca228ef0488cb0d00--