diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | file.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Thu May 27 23:38:31 2010 NARUSE, Yui <naruse@ruby-lang.org> + + * file.c (rb_home_dir): set filesystem encoding. + Thu May 27 23:29:18 2010 NARUSE, Yui <naruse@ruby-lang.org> * file.c (file_expand_path): set encoding as the same of fname @@ -2828,6 +2828,7 @@ rb_home_dir(const char *user, VALUE result) } } #endif + rb_enc_associate_index(result, rb_filesystem_encindex()); return result; } |