[前][次][番号順一覧][スレッド一覧]

ruby-changes:10197

From: naruse <ko1@a...>
Date: Thu, 22 Jan 2009 20:59:34 +0900 (JST)
Subject: [ruby-changes:10197] Ruby:r21741 (trunk): Recover default_default_internal.

naruse	2009-01-22 20:59:26 +0900 (Thu, 22 Jan 2009)

  New Revision: 21741

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21741

  Log:
    Recover default_default_internal.

  Modified files:
    trunk/test/ruby/test_transcode.rb

Index: test/ruby/test_transcode.rb
===================================================================
--- test/ruby/test_transcode.rb	(revision 21740)
+++ test/ruby/test_transcode.rb	(revision 21741)
@@ -36,6 +36,7 @@
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]