merge revision(s) 28037:28040:
* file.c (rb_home_dir): set filesystem encoding.
* file.c (file_expand_path): set encoding as the same of fname
when result is not filesystem encoding. [ruby-dev:41429]
* file.c (file_expand_path): use rb_enc_associate_index and
rb_filesystem_encindex. Strings related FileSystem should
have filesystem_encoding.
* file.c (SET_EXTERNAL_ENCODING): removed.
merge revision(s) 28037:28040:
* file.c (rb_home_dir): set filesystem encoding.
* file.c (file_expand_path): set encoding as the same of fname
when result is not filesystem encoding. [ruby-dev:41429]
* file.c (file_expand_path): use rb_enc_associate_index and
rb_filesystem_encindex. Strings related FileSystem should
have filesystem_encoding.
* file.c (SET_EXTERNAL_ENCODING): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e