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 /ChangeLog | |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Sat Dec 5 17:26:24 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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. + Sat Dec 5 09:56:50 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * ruby_atomic.h (ATOMIC_CAS): old value to be swapped should be |