diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-15 05:44:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-15 05:44:55 +0000 |
commit | 8f1332c537179a5f2f745d4fafacbb587e161086 (patch) | |
tree | f68c158bab5afcf55b85cb4f83f609dd7f0eef1f /encoding.c | |
parent | 9b7e38aa1cf76ba023c4c03a003f617c8f655c49 (diff) | |
download | ruby-8f1332c537179a5f2f745d4fafacbb587e161086.tar.gz ruby-8f1332c537179a5f2f745d4fafacbb587e161086.tar.xz ruby-8f1332c537179a5f2f745d4fafacbb587e161086.zip |
* encoding.c (rb_locale_charmap): use ASCII-8BIT in miniruby.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
-rw-r--r-- | encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c index 46853964e..d76e8edfb 100644 --- a/encoding.c +++ b/encoding.c @@ -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); |