Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs: can't require non-ASCII file paths in Shift-JIS filesystem #56670

Open
kyranet opened this issue Jan 20, 2025 · 0 comments
Open

fs: can't require non-ASCII file paths in Shift-JIS filesystem #56670

kyranet opened this issue Jan 20, 2025 · 0 comments
Labels
fs Issues and PRs related to the fs subsystem / file system. windows Issues and PRs related to the Windows platform.

Comments

@kyranet
Copy link
Contributor

kyranet commented Jan 20, 2025

Version

v22.13.0, v23.6.0

Platform

Microsoft Windows NT 10.0.26100.0 x64

Subsystem

fs

What steps will reproduce the bug?

  1. Use Japanese Windows with Shift-JIS (aka CP932)
  2. Load a non-ASCII file path with require such as ヘルプ.js

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

Always reproduceable under a Shift-JIS filesystem.

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

The file is loaded correctly.

What do you see instead?

"Process exited with code 3221225477"

Additional information

@kyranet kyranet changed the title fs: can't require file paths in Shift-JIS filesystem fs: can't require non-ASCII file paths in Shift-JIS filesystem Jan 20, 2025
@VoltrexKeyva VoltrexKeyva added fs Issues and PRs related to the fs subsystem / file system. windows Issues and PRs related to the Windows platform. labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fs Issues and PRs related to the fs subsystem / file system. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests

2 participants