diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-26 17:24:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-09-26 17:24:00 +0000 |
commit | 7f0d337be73bb2465b40009fe23f3b7be6b0dc90 (patch) | |
tree | 68af920515bd71a3c13383fd0dbf864e8dc63b22 /marshal.c | |
parent | 2fa316715f827f3c1cf1426caee7e89fbbe0f607 (diff) | |
download | ruby-7f0d337be73bb2465b40009fe23f3b7be6b0dc90.tar.gz |
fallback env encoding to ASCII-8BIT
* hash.c (env_enc_str_new): as no locale/filesystem encoding is
available in miniruby on Windows, fallback the encoding to
ASCII-8BIT so it is valid encoding when the conversion failed.
[ruby-core:89177] [Bug #15164]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
0 files changed, 0 insertions, 0 deletions