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/