ruby/include
akr 0530cf9ff8 * encoding.c: include locale.h
(rb_locale_charmap): new method Encoding.locale_charmap for
  nl_langinfo(CODESET).

* include/ruby/encoding.h (rb_locale_charmap): declared.

* main.c (main): call setlocale with LC_CTYPE.

* ruby.c (locale_encoding): use rb_locale_charmap.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21 02:52:23 +00:00
..
ruby * encoding.c: include locale.h 2007-12-21 02:52:23 +00:00
ruby.h * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
rubyio.h * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00
rubysig.h * include/ruby: moved public headers. 2007-06-10 03:06:15 +00:00