[Ruby 1.9-Bug#3926][Open] Errno#message encoding is right?

Bug #3926: Errno#message encoding is right ?
http://redmine.ruby-lang.org/issues/show/3926

e$B5/I<<Te(B: Akio T.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: M17N, Target version: 1.9.x
ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29036) [i386-mswin32_100]

Errno::*#messagee$B$O!"e(Bstrerre$B$G<h$C$F$-$?%a%C%;!<%8$J$N$G!"e(Bencodinge$B$O!"e(Blocalee$B$K9g$o$;[email protected]_Dj$9$Y$-$H;W$&$N$G$9$,$I$&$G$7$g$&$+!)e(B

irb(main):001:0> Errno::EINVAL.new.message
=> “Invalid argument”
irb(main):002:0> Errno::EINVAL.new.message.encoding
=> #Encoding:ASCII-8BIT #
e$B!D!D$^$“NI$$$H$7$Fe(B
irb(main):003:0> Errno::EWOULDBLOCK.new.message
=>
“\x83u\x83\x8D\x83b\x83N\x95s\x89\xC2\x82\xCC\x83\\x83P\x83b\x83g\x91\x80\x8
D\xEC\x82\xF0\x82\xB7\x82\xAE\x82\xC9\x8A\xAE\x97\xB9\x82\xC5\x82\xAB\x82\xDC\x8
2\xB9\x82\xF1\x82\xC5\x82\xB5\x82\xBD\x81B”
irb(main):004:0> Errno::EWOULDBLOCK.new.message.encoding
=> #Encoding:ASCII-8BIT # e$B!D!De(B
CP932 e$B$G$”$C$FM_$7$$e(B

e$B%A%1%C%He(B #3926 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r29438.
Akio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


http://redmine.ruby-lang.org/issues/show/3926

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