Issue #6681 has been reported by taki (Tatsuo Akiyama).

----------------------------------------
Bug #6681: migw32 ??? utf-8 ?????????????????????????????????????????? File.basename 
https://bugs.ruby-lang.org/issues/6681

Author: taki (Tatsuo Akiyama)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: 1.9.3p194 (2012-04-20) [i386-mingw32]


=begin

migw32 ??? utf-8 ?????????????????????????????????????????? File.basename ?????????????????????????????

????????? test1.rb
 # -*- coding: utf-8 -*-
 puts File.basename("1???/memo1.txt")

????????? test2.rb
 # -*- coding: Shift_JIS -*-
 puts File.basename("1???/memo1.txt")

???????????memo1.txt??????表示????????????????????????????????????test1.rb ???????1???/memo1.txt??????表示?????????????

 >ruby -v
 ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
 
 >ruby test1.rb
 1???/memo1.txt
 
 >ruby test2.rb
 memo1.txt

rubyinstaller.org ????????????????????????????????

=end



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