Ruby.exe and RubyCompiler.exe. svn 136
def test_chars
kc_backup = $KCODE
begin
$KCODE = 'EUC'
s = String.new("\244\242")
assert_equal "\244\242", s
s =~ /./
# Fails with Ruby.exe and RubyCompiler.exe (Gets <"\244">). Ok with MRI
assert_equal "\244\242", $~[0]
ensure
$KCODE = kc_backup
end
end
Original issue reported on code.google.com by djl.rif...@googlemail.com on 22 Oct 2007 at 6:54
Original issue reported on code.google.com by
djl.rif...@googlemail.com
on 22 Oct 2007 at 6:54