Issue #8776 has been updated by jiayp / glodon.com (? 延平).


I have seen the error handling code and don't know how to fix the error.

I once think ruby will do the encode work at the boundary of the external system as soon as possible,And keep the internal system  clear with the internal encoding.If not so,How we know when to encode to what encoding?
----------------------------------------
Bug #8776: script_name's encoding is wrong
https://bugs.ruby-lang.org/issues/8776#change-41105

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/