add ML ref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
65a0050268
commit
3f623cfba1
@ -61,7 +61,7 @@ EOT
|
|||||||
f.gets("\xA2\xA2".force_encoding("euc-jp").encode("utf-8"))
|
f.gets("\xA2\xA2".force_encoding("euc-jp").encode("utf-8"))
|
||||||
}
|
}
|
||||||
assert_equal(Encoding.find("euc-jp"), s.encoding)
|
assert_equal(Encoding.find("euc-jp"), s.encoding)
|
||||||
assert_str_equal("before \xA1\xA2\xA2\xA3 after".force_encoding("iso-8859-1"), s)
|
assert_str_equal("before \xA1\xA2\xA2\xA3 after".force_encoding("iso-8859-1"), s, '[ruby-core:14319]')
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user