1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Recover default_default_internal.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2009-01-22 11:59:26 +00:00
parent 6708c103dc
commit 770d89c5fa

View file

@ -36,6 +36,7 @@ class TestTranscode < Test::Unit::TestCase
assert_equal("\u3042".encode, "\xA4\xA2".force_encoding('EUC-JP'))
assert_equal("\xE3\x81\x82\x81".force_encoding("utf-8").encode,
"\xA4\xA2?".force_encoding('EUC-JP'))
Encoding.default_internal = default_default_internal
end
def test_length