diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-26 04:04:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-26 04:04:23 +0000 |
commit | 8948280c67072f652eebc31bc3a2f3fb86bcca5f (patch) | |
tree | 8e433b03c6bc0f19f1a166b53d8aea0430e24c97 /ChangeLog | |
parent | 2c181b6d1a0514204e049e5f37529b8b8ccfe434 (diff) | |
download | ruby-8948280c67072f652eebc31bc3a2f3fb86bcca5f.tar.gz |
load.c: search in OS path encoding
* load.c (rb_load_internal): use rb_load_file_str() to keep path
encoding.
* load.c (rb_require_safe): search in OS path encoding for Windows.
* ruby.c (rb_load_file_str): load file with keeping path encoding.
* win32/file.c (rb_file_load_ok): use WCHAR type API assuming incoming
path is encoded in UTF-8. [ruby-core:56136] [Bug #8676]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,4 +1,14 @@ -Fri Jul 26 13:01:57 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> +Fri Jul 26 13:04:15 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * load.c (rb_load_internal): use rb_load_file_str() to keep path + encoding. + + * load.c (rb_require_safe): search in OS path encoding for Windows. + + * ruby.c (rb_load_file_str): load file with keeping path encoding. + + * win32/file.c (rb_file_load_ok): use WCHAR type API assuming incoming + path is encoded in UTF-8. [ruby-core:56136] [Bug #8676] * file.c (rb_str_encode_ospath): simplify using rb_str_conv_enc(). |