From 97c175fa19d0d58eaabace94f737c4c08368b476 Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 27 May 2010 14:47:29 +0000 Subject: * file.c (rb_home_dir): set filesystem encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- file.c | 1 + 1 file changed, 1 insertion(+) (limited to 'file.c') diff --git a/file.c b/file.c index ed033a71af..7c980f3732 100644 --- a/file.c +++ b/file.c @@ -2828,6 +2828,7 @@ rb_home_dir(const char *user, VALUE result) } } #endif + rb_enc_associate_index(result, rb_filesystem_encindex()); return result; } -- cgit v1.2.3