Skip to content

[Bug]: Can not support markdown file path with emoji char #2518

@ChrisSong1994

Description

@ChrisSong1994

Version

System:
    OS: Windows 11 10.0.26100
    CPU: (56) x64 Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz
    Memory: 106.22 GB / 127.90 GB
  Browsers:
    Edge: Chromium (139.0.3405.119)
  npmPackages:
    rspress: 2.0.0-beta.21 => 2.0.0-beta.21

Details

rspress: 2.0.0-beta.21 can not support markdown file path with emoji char, and the error info is

node:internal/fs/promises:639
  return new FileHandle(await PromisePrototypeThen(
                        ^

Error: ENOENT: no such file or directory, open 'C:\Workspace\github\docs\🏆 .md'

Reproduce link

no link

Reproduce Steps

just add a markdown filename with emoji char

Metadata

Metadata

Labels

🐞 bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions