GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fs.watch filename incorrect · Issue #6163 · nodejs/node

fs.watch filename incorrect #6163

New issue
Copy link
New issue
Copy link
Closed
Closed
fs.watch filename incorrect#6163
Copy link
Labels
duplicateIssues and PRs that are duplicates of other issues or PRs.fsIssues and PRs related to file-system APIs and the fs module.

Description

@zachary822
zachary822
opened on Apr 12, 2016
Issue body actions
  • 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.

Activity

  1. bnoordhuis commented on Apr 12, 2016

    @bnoordhuis
    bnoordhuis
    on Apr 12, 2016
    Member
    More actions

    That's been fixed in #5616 (see also: #2088 and #3519) and will be released in v6. I'll close, the changes constitute a semver-major change and won't be back-ported to v4 and v5.

    Reacted by Zachary Juang
  2. bnoordhuis
    closed this as completedon Apr 12, 2016
  3. bnoordhuis
    added
    duplicateIssues and PRs that are duplicates of other issues or PRs.
    fsIssues and PRs related to file-system APIs and the fs module.
    on Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssues and PRs that are duplicates of other issues or PRs.fsIssues and PRs related to file-system APIs and the fs module.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.