Issue #8775 has been updated by jiayp / glodon.com (? 延平).


Maybe I did not speake clearly?When we write ruby code,we should consider the string create is internal encoding by default,and if internal encoding != filesystem encoding when we use the File.getwd result with other strings that will be problem.
----------------------------------------
Bug #8775: Dir.getwd's encoding is wrong 
https://bugs.ruby-lang.org/issues/8775#change-41125

Author: jiayp / glodon.com (? 延平)
Status: Rejected
Priority: Normal
Assignee: cruby-windows
Category: platform/windows
Target version: current: 2.1.0
ruby -v: ruby 2.1.0dev (2013-08-10 trunk 42491) [i386-mingw32]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


See the patch.
I do't know is this the right way,please check it .


-- 
http://bugs.ruby-lang.org/