General

Profile

flatland001 (Hayato Arai)

  • Login: flatland001
  • Registered on: 08/26/2024
  • Last sign in: 01/22/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

08/26/2024

06:59 AM Ruby Bug #20699 (Open): On Windows, the `__dir__` keyword is garbled in paths containing Japanese characters, and `require_relative` fails as well
In paths containing Japanese characters, such as:
C:\テスト_test\test.rb
Code:
``` ruby
# this code -> C:\テスト_test\test.rb
# external file -> C:\テスト_test\lib\foo.rb
p __dir__
p __dir__.encoding
p File.dirname(File.expand_path(...
flatland001 (Hayato Arai)

Also available in: Atom