8000 v22.3.0 Cannot start if the Folder or Script File Name is Unicode. · Issue #54991 · nodejs/node · GitHub
[go: up one dir, main page]

Skip to content

v22.3.0 Cannot start if the Folder or Script File Name is Unicode. #54991

@LightSpeedC

Description

@LightSpeedC

Version

v22.3.0 or later (v22.11.0, v23.1.0)

Platform

Windows 10

Microsoft Windows NT 10.0.19045.0 x64
Microsoft Windows [Version 10.0.19045.4780] <- ver
Microsoft Windows [Version 10.0.19045.5011] <- ver

Windows 11

Microsoft Windows NT 10.0.22631.0 x64
Microsoft Windows [Version 10.0.22631.3880] <- ver

Subsystem

No response

What steps will reproduce the bug?

We can start normal.

// abcde.js
console.log('It works!');
> node C:\wk\abcde\abcde.js
It works!
> echo errorlevel=%errorlevel%
errorlevel=0
>

Cannot start if the folder is Unicode.

> node C:\wk\あいうえお\abcde.js
> echo errorlevel=%errorlevel%
errorlevel=-1073741819
> 

-1073741819 means File System error.

How often does it reproduce? Is there a required condition?

Every time. 100%

What is the expected behavior? Why is that the expected behavior?

before version v22.2.0, it's OK.

What do you see instead?

> subst A: C:\wk\あいうえお
> node A:\abcde.js
It works!
> subst A: /d

Additional information

Node.js blog - 2024-06-11, Version 22.3.0 (Current)

Metadata

Metadata

Assignees

No one assigned

    Labels

    windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0