ruby-changes:2905
From: ko1@a...
Date: 21 Dec 2007 13:23:12 +0900
Subject: [ruby-changes:2905] akr - Ruby:r14396 (trunk): fix previous locale_encoding change.
akr 2007-12-21 13:22:59 +0900 (Fri, 21 Dec 2007) New Revision: 14396 Modified files: trunk/ruby.c Log: fix previous locale_encoding change. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ruby.c?r1=14396&r2=14395 Index: ruby.c =================================================================== --- ruby.c (revision 14395) +++ ruby.c (revision 14396) @@ -145,6 +145,7 @@ if (codeset == Qnil) return rb_default_encoding(); + name = StringValueCStr(codeset); idx = rb_enc_find_index(name); if (idx < 0) return rb_default_encoding(); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml