From 770d89c5fa39e6dff431c0fbc44e68db91440aae Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 22 Jan 2009 11:59:26 +0000 Subject: [PATCH] Recover default_default_internal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_transcode.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_transcode.rb b/test/ruby/test_transcode.rb index 0bb6b8085f..b61d3d39db 100644 --- a/test/ruby/test_transcode.rb +++ b/test/ruby/test_transcode.rb @@ -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