From: usa@...
Date: 2014-06-23T09:01:50+00:00
Subject: [ruby-core:63291] [ruby-trunk - Bug #8676] ruby 2.0 can not require or load the source file with non-ascii path name

Issue #8676 has been updated by Usaku NAKAMURA.

Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: UNKNOWN, 2.0.0: REQUIRED

----------------------------------------
Bug #8676: ruby 2.0 can not require or load the source file with non-ascii path name
https://bugs.ruby-lang.org/issues/8676#change-47340

* Author: ��� ������
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: platform/windows
* Target version: 
* ruby -v: ruby 2.0.0p277 (2013-07-23 revision 42121) [i386-mingw32]
* Backport: 1.9.3: UNKNOWN, 2.0.0: REQUIRED
----------------------------------------
=begin
Sorry for my poor english:)

I attached the patch to fix the problem, but I don't know is it the right way.

Changelog:
*include/ruby/intern.h  change the declaration of "rb_load_file"���change parameter from char* to VALUE
*load.c change the caller
*ruby.c change the "rb_load_file"'s implement
*win32/file.c change the win32 api call from ANSI type to UNICODE type.
=end


---Files--------------------------------
win32_file_open_patch.patch (2.3 KB)
win32_file_open_patch.patch (4.96 KB)


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