-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Closed
Labels
duplicateIssues and PRs that are duplicates of other issues or PRs.Issues and PRs that are duplicates of other issues or PRs.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.
Description
- Version: v5.10.1
- Platform: Linux localhost.localdomain 3.10.0-327.el7.x86_64 deps: update openssl to 1.0.1j #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
- Subsystem: fs
The file names that the fs.watch
function reports is different from fs.readdirSync
when the file names have Chinese characters, with the fs.readdirSync
file names being correct. Buffer.from(badFileNameFromFsWatch, 'binary').toString('utf-8')
will produce the correct file name, consistent with fs.readdirSync
.
Metadata
Metadata
Assignees
Labels
duplicateIssues and PRs that are duplicates of other issues or PRs.Issues and PRs that are duplicates of other issues or PRs.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.