Issue #8165 has been updated by funny_falcon (Yura Sokolov).


This is occasionally fixed in trunk by https://bugs.ruby-lang.org/issues/8048 ,
by de-abusing Ruby Strings and using plain C strings.

Also backported version of https://bugs.ruby-lang.org/issues/8158 fixes this too,
cause it removes string comparison at all.

----------------------------------------
Bug #8165: Problems with require
https://bugs.ruby-lang.org/issues/8165#change-37933

Author: Krugloff (Alexandr Kruglov)
Status: Assigned
Priority: Normal
Assignee: tarui (Masaya Tarui)
Category: 
Target version: current: 2.1.0
ruby -v: ruby 2.0.0-p0


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/