From: "jiayp@... (贾 延平)" Date: 2013-08-14T14:25:19+09:00 Subject: [ruby-core:56612] [ruby-trunk - Bug #8774] rb_file_dirname return wrong encoding string when dir is "." Issue #8774 has been updated by jiayp@glodon.com (��� ������). Yes,you are right,maybe my problem couse by the other reason. ---------------------------------------- Bug #8774: rb_file_dirname return wrong encoding string when dir is "." https://bugs.ruby-lang.org/issues/8774#change-41147 Author: jiayp@glodon.com (��� ������) Status: Rejected Priority: Normal Assignee: Category: core 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 When File.dirname()'s value is ".", the value is wrong encoded. -- http://bugs.ruby-lang.org/