diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-10 07:42:24 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-10 07:42:24 +0000 |
commit | c479bde4fe6486f2067c8a519714ee35e0411646 (patch) | |
tree | fa941bc0e54f27925e190728ba5e044b5f97d12f /ChangeLog | |
parent | 09c8651387bed889bd3f4763962d8ce73bd348b3 (diff) | |
download | ruby-c479bde4fe6486f2067c8a519714ee35e0411646.tar.gz |
* encoding.c (rb_locale_charmap): When ruby process is run as Windows
Service the console codepage is not set, GetConsoleCP returns 0.
So on such environment, use GetACP().
http://blogs.msdn.com/b/michkap/archive/2005/02/08/369197.aspx
patched by Rafal Bigaj [ruby-core:36832] [Bug #4854]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Fri Jun 10 16:38:13 2011 NARUSE, Yui <naruse@ruby-lang.org> + + * encoding.c (rb_locale_charmap): When ruby process is run as Windows + Service the console codepage is not set, GetConsoleCP returns 0. + So on such environment, use GetACP(). + http://blogs.msdn.com/b/michkap/archive/2005/02/08/369197.aspx + patched by Rafal Bigaj [ruby-core:36832] [Bug #4854] + Fri Jun 10 14:34:24 2011 Koichi Sasada <ko1@atdot.net> * common.mk: restore TESTRUN_SCRIPT to "$(srcdir)/test.rb". |