ruby-changes:9999
From: yugui <ko1@a...>
Date: Fri, 16 Jan 2009 00:36:35 +0900 (JST)
Subject: [ruby-changes:9999] Ruby:r21542 (ruby_1_9_1): merges r21475 from trunk into ruby_1_9_1.
yugui 2009-01-16 00:36:22 +0900 (Fri, 16 Jan 2009) New Revision: 21542 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21542 Log: merges r21475 from trunk into ruby_1_9_1. describe Encoding.find("locale") in rdoc of Encoding.locale_charmap. Modified files: branches/ruby_1_9_1/encoding.c Index: ruby_1_9_1/encoding.c =================================================================== --- ruby_1_9_1/encoding.c (revision 21541) +++ ruby_1_9_1/encoding.c (revision 21542) @@ -1207,6 +1207,11 @@ * LANG=ja * Encoding.locale_charmap => "eucJP" * + * The result is higly platform dependent. + * So Encoding.find(Encoding.locale_charmap) may cause an error. + * If you need some encoding object even for unknown locale, + * Encoding.find("locale") can be used. + * */ VALUE rb_locale_charmap(VALUE klass) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/