1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* encoding.c (rb_locale_charmap): use ASCII-8BIT in miniruby.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-01-15 05:44:55 +00:00
parent 4f703c7dad
commit 3c3b2fe143
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Jan 15 14:44:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* encoding.c (rb_locale_charmap): use ASCII-8BIT in miniruby.
Tue Jan 15 13:54:41 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* {bcc32,win32}/Makefile.sub (RUNRUBY): need to set archdir when

View file

@ -944,7 +944,7 @@ VALUE
rb_locale_charmap(VALUE klass)
{
#if defined NO_LOCALE_CHARMAP
return Qnil;
return rb_str_new2("ASCII-8BIT");
#elif defined HAVE_LANGINFO_H
char *codeset;
codeset = nl_langinfo(CODESET);