From: "jiayp@... (贾 延平)" Date: 2013-08-11T15:33:16+09:00 Subject: [ruby-core:56545] [ruby-trunk - Bug #8775][Open] Dir.getwd's encoding is wrong Issue #8775 has been reported by jiayp@glodon.com (��� ������). ---------------------------------------- Bug #8775: Dir.getwd's encoding is wrong https://bugs.ruby-lang.org/issues/8775 Author: jiayp@glodon.com (��� ������) Status: Open 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/