mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
describe Encoding.find("locale") in rdoc of Encoding.locale_charmap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e051337b85
commit
f0e91e54a3
1 changed files with 5 additions and 0 deletions
|
@ -1207,6 +1207,11 @@ set_default_internal(VALUE klass, VALUE encoding)
|
|||
* 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)
|
||||
|
|
Loading…
Reference in a new issue