This is a repository to reproduce a bug when using fs.readdir
in Electron on Windows.
-
Create a file on your desktop with an umlaut, e.g.:
äöü.txt
-
Invoke
node.js
with node to see howfs.readdir
works in node. Here is the output:$ node node.js { node: '20.12.2' } [ 'desktop.ini', 'äöü.txt' ]
-
Invoke
main.js
with electron to see hotfs.readdir
works in electron. Here is the output:$ ./node_modules/.bin/electron main.js { electron: '31.0.0-alpha.3', node: '20.12.2' } [ 'desktop.ini', 'äöü.txt' ]