node icon indicating copy to clipboard operation
node copied to clipboard

fs.rmSync('速') crash without throw

Open kanasimi opened this issue 3 months ago • 9 comments

Version

23.3.0

Platform

Windows 10

Subsystem

No response

What steps will reproduce the bug?

When fs.rmSync('速') files with name containing “速”, node 23.3.0 will crash without throw.

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

Everytime

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

Delete the file normally.

What do you see instead?

The program just crashed.

Additional information

There are other special characters that can cause similar problems, such as “請”. This problem did not occur in previous versions.

kanasimi avatar Nov 28 '24 08:11 kanasimi