From: "jiayp@... (贾 延平)" Date: 2013-08-12T12:14:22+09:00 Subject: [ruby-core:56561] [ruby-trunk - Bug #8775] Dir.getwd's encoding is wrong Issue #8775 has been updated by jiayp@glodon.com (��� ������). Maybe my solution is wrong. But Dir.getwd should encoded into internel encoding,am I right? ---------------------------------------- Bug #8775: Dir.getwd's encoding is wrong https://bugs.ruby-lang.org/issues/8775#change-41099 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/