diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-05 08:26:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-05 08:26:26 +0000 |
commit | 2a0bcf620cd92ffbb97753a37196b6464cabccc9 (patch) | |
tree | 233a0cee0dbe09463fe64e341d671295659af172 /test/lib | |
parent | 3a9a702937104a860f640e29b55df091dfff1fb4 (diff) | |
download | ruby-2a0bcf620cd92ffbb97753a37196b6464cabccc9.tar.gz |
hash.c: env encoding fallback on Windows
* hash.c (env_str_new, env_path_str_new): make default string
UTF-8 for the case conversion is not possible. [Bug #8822]
* hash.c (get_env_cstr): convert non-ASCII string to UTF-8 string.
* hash.c (ruby_setenv): use wide char version to put environment
variable to deal with non-ASCII value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib')
0 files changed, 0 insertions, 0 deletions