Euc-jp-ms

EUC-JP-MS e$B$NJQ49$G$9$,!"F0$$$F$J$$$h$&$J5$$,$7$^$9!#e(B

% ./ruby -ve ’
0xa1.upto(0xfe) {|h|
0xa1.upto(0xfe) {|l|
m = ([h,l].pack(“C*”).encode(“UTF-8”, “EUC-JP-MS”) rescue $!.class)
e = ([h,l].pack(“C*”).encode(“UTF-8”, “EUC-JP”) rescue $!.class)
p [h,l, m, e] if m != e
}
}’
ruby 1.9.0 (2008-09-01 revision 19018) [i686-linux]

e$B$H$7$F$b:90[$,$R$H$D$b=P$F$-$^$;$s!#e(B

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