From: "jiayp@... (贾 延平)" Date: 2013-08-12T16:50:28+09:00 Subject: [ruby-core:56571] [ruby-trunk - Bug #8776] script_name's encoding is wrong Issue #8776 has been updated by jiayp@glodon.com (��� ������). In this call flow rb_f_load -> rb_load_internal -> rb_load_file_str -> load_file -> load_file_internal -> rb_parser_compile_string_path When load a utf-8 encoded path will be considered a filesystem encoded path and load failure. ---------------------------------------- Bug #8776: script_name's encoding is wrong https://bugs.ruby-lang.org/issues/8776#change-41106 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 there's some wrong encoded string in exception's callstack couse by the script_name;s encoding is wrong . -- http://bugs.ruby-lang.org/