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:
parent
6708c103dc
commit
770d89c5fa
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue