You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Likely a regression caused by #53614 - this only shows up on Windows where the native encoding is UTF16. It's possibly caused by the incorrect use of UTF8 path data #53614 (comment)
Version
v22.6.0
Platform
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
The text was updated successfully, but these errors were encountered: