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
{{ message }}
Repository navigation
fs.rmSync cannot remove files under chinese-named directory #61067
@Renegade334
I looked at it because I wanted to contribute if possible.
I tested this on Windows 10 with both v24.12.0 and the latest nightly build (v26.0.0-nightly20251229879b95efea).
In v24.12.0, fs.rmSync silently fails to delete files when the path contains non-ASCII characters - whether in the directory name or the filename itself.
In the nightly build, both cases work correctly.
This issue appears to be fixed by #61108, which also added the test case test-fs-rmSync-special-char.js.
Activity
Renegade334 commentedon Dec 15, 2025
This binding uses
std::filesystem, and is indeed a variant of #58759.mag123c commentedon Dec 29, 2025
@Renegade334
I looked at it because I wanted to contribute if possible.
I tested this on Windows 10 with both v24.12.0 and the latest nightly build (v26.0.0-nightly20251229879b95efea).
In v24.12.0, fs.rmSync silently fails to delete files when the path contains non-ASCII characters - whether in the directory name or the filename itself.
In the nightly build, both cases work correctly.
This issue appears to be fixed by #61108, which also added the test case
test-fs-rmSync-special-char.js.Yuchen-Dai commentedon Dec 31, 2025
This has been fixed by #61108 .
Thanks to everyone involved. Closing this issue.
fix(tests,web-test): не отдавать rmSync/cpSync пути с не-ASCII символами
0.3.0: 递归删除/拷贝的坑从根上封死,批准改成「窗口起的才算」
ci(валидация): матрица прогонов по ОС и версиям Node
chore(проверка): закрепить Node 24.12.0 — версия, на которой дефект п…
ci(валидация): канареечный прогон на Node 24.12.0 против известного д…