Project
General
Profile
Sign in
Register
Home
Projects
Help
Ruby
All Projects
Ruby
Overview
Activity
Roadmap
Issues
Repository
«
Previous
|
Next
»
Revision c479bde4
Added by
naruse (Yui NARUSE)
over 14 years
ago
ID
c479bde4fe6486f2067c8a519714ee35e0411646
Parent
09c86513
Child
7eed9093
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
Related issues
Bug #4854
: Invalid locale_charmap (CP0) when running as Windows Service
Loading...
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