Closed
Description
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