Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

readdir & readdirSync win32 - list non UTF8 ? #1842

Closed
ghost opened this issue Oct 7, 2011 · 2 comments
Closed

readdir & readdirSync win32 - list non UTF8 ? #1842

ghost opened this issue Oct 7, 2011 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 7, 2011

'lo

platform : windows 7 x64
node : (v.0.5.7)

require("fs").readdirSync(...).forEach(function(f){console.log(f)});

return a non UTF8 string ?

a++

@Bonuspunkt
Copy link

seems to be fixed (W7x64)
v0.5.10

echo x > ᾔøᾔ∀ṧ¢ḯḯ✞ℯϰт.txt
node
> require('fs').readdirSync('.')
[ 'ᾔøᾔ∀ṧ¢ḯḯ✞ℯϰт.txt' ]

@koichik
Copy link

koichik commented Oct 26, 2011

Thanks! I also confirmed it (XP 32bit), closing.

> require('fs').readdirSync('.')
[ 'スタート メニュー',
  'デスクトップ' ]
>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants