Project

General

Profile

Actions

Bug #20704

closed

Windows: `-C` option does not work for multibyte path name

Added by nobu (Nobuyoshi Nakada) about 2 months ago. Updated 8 days ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:118976]

Description

Related to [Bug #20699].

C:> \Ruby33-x64\bin\ruby.exe -C xテスト_test -ep
\Ruby33-x64\bin\ruby.exe: Can't chdir to xテスト_test (fatal)

https://github.com/ruby/ruby/pull/11493

Actions #1

Updated by nobu (Nobuyoshi Nakada) about 2 months ago

  • Description updated (diff)
Actions #2

Updated by nobu (Nobuyoshi Nakada) about 2 months ago

  • Status changed from Open to Closed

Applied in changeset commit:git|d33e3d47b84a73b38644f2a3d41881ce9be6ef18.


[Bug #20704] Win32: Fix chdir to non-ASCII path

On Windows, chdir in compilers' runtime libraries uses the active
code page, but command line arguments in ruby are always UTF-8, since
commit:33ea2646b98adb49ae2e1781753bf22d33729ac0.

Actions #3

Updated by nobu (Nobuyoshi Nakada) about 2 months ago

  • Backport changed from 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN to 3.1: REQUIRED, 3.2: REQUIRED, 3.3: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) 8 days ago

  • Backport changed from 3.1: REQUIRED, 3.2: REQUIRED, 3.3: REQUIRED to 3.1: REQUIRED, 3.2: DONE, 3.3: REQUIRED

ruby_3_2 commit:48af30b068729058c2f45375e67fa76f6240a228 merged revision(s) commit:d33e3d47b84a73b38644f2a3d41881ce9be6ef18.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0