зеркало из https://github.com/github/ruby.git
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:
Родитель
65a0050268
Коммит
3f623cfba1
|
@ -61,7 +61,7 @@ EOT
|
|||
f.gets("\xA2\xA2".force_encoding("euc-jp").encode("utf-8"))
|
||||
}
|
||||
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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче