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 — Regression in v20.4.0, some unicode characters no longer supported in file names · Issue #48813 · nodejs/node

Regression in v20.4.0, some unicode characters no longer supported in file names #48813

New issue
Copy link
New issue
Copy link
Closed
Closed
Regression in v20.4.0, some unicode characters no longer supported in file names#48813
Copy link

Description

@user7230724
user7230724
opened on Jul 17, 2023
Issue body actions

Version

v20.4.0

Platform

Windows NT 10.0.19043.0 x64

Subsystem

fs

What steps will reproduce the bug?

Code:

const fs = require('fs');
const name = String.fromCodePoint(0x1F525);
fs.writeFileSync(name, '');

Results:

> node-v18.16.1 test.js

> node-v20.4.0 test.js
node:internal/fs/utils:351
    throw err;
    ^

Error: ENOENT: no such file or directory, open '🔥'

How often does it reproduce? Is there a required condition?

Consistently.

What is the expected behavior? Why is that the expected behavior?

Create an empty file with the given name.

What do you see instead?

An error.

Reacted by Alt

Activity

  1. user7230724 commented on Jul 17, 2023

    @user7230724
    user7230724
    on Jul 17, 2023
    Author
    More actions

    Seems like a duplicate of #48673

  2. user7230724
    closed this as completedon Jul 17, 2023
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — 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.