Skip to content

v22.6.0 fs.cpSync crash #54476

Closed
Closed
@wxfred

Description

@wxfred

Version

v22.6.0

Platform

Microsoft Windows NT 10.0.19045.0 x64

Subsystem

fs

What steps will reproduce the bug?

fs.cpSync will crash if the dir contains chinese, like
fs.cpSync('C:/新建文件夹', 'C:/model', { recursive: true })

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

always

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

fs.cpSync can handle the dir with chinese

What do you see instead?

no output, only crash

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    fsIssues and PRs related to the fs subsystem / file system.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