Issue #8165 has been updated by h.shirosaki (Hiroshi Shirosaki).


nagachika (Tomoyuki Chikanaga) wrote:
> working memo: backport 40135,40148,40173 but ruby/test_require.rb TestRequire#test_require_nonascii_path fails.

Thank you for backport. #8048 would also be needed for this issue.
Hash lookup of feature_index fails due to String encoding of the key. r39874 changes hash key from ruby String to C string.
----------------------------------------
Backport #8165: Problems with require
https://bugs.ruby-lang.org/issues/8165#change-38582

Author: Krugloff (Alexandr Kruglov)
Status: Assigned
Priority: Normal
Assignee: nagachika (Tomoyuki Chikanaga)
Category: 
Target version: 


Require doesn't work correctly if path contains cyrillic.

require '/home/mak/test.rb' #-> true
require '/home/mak/test.rb' #-> false

require '/home/mak/????֧????/test.rb' #-> true
require '/home/mak/????֧????/test.rb' #-> true


-- 
http://bugs.ruby-lang.org/