Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Windows Vista, French locale: path is wrong if there are accents in the path #2215

Closed
bambax opened this issue Nov 28, 2011 · 2 comments
Closed
Labels
Milestone

Comments

@bambax
Copy link

bambax commented Nov 28, 2011

Accents in the path are incorrectly interpreted, resulting in a file not found error ("Error: Cannot find module 'C:\apps\é´┐¢\test' " for a file located in C:\apps\té)

This also happens, of course, if the user's name contains accents and one tries to run scripts from somewhere under the home account.

(node-v0.6.3.msi)

@piscisaureus
Copy link

Fixed in 7a9b4c9

isaacs pushed a commit to isaacs/node-v0.x-archive that referenced this issue Dec 2, 2011
alexkwolfe pushed a commit to alexkwolfe/node that referenced this issue Dec 23, 2011
@redaready
Copy link

windows xp xp3 chinese version

//file 你好.js
console.log("你好");

E:\ed\node\test\simple>node --version
v0.6.8

E:\ed\node\test\simple>node 你好.js

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'E:\ed\node\test\simple\锟斤拷锟斤拷.js'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Array.0 (module.js:470:10)
at EventEmitter._tickCallback (node.js:192:40)

E:\ed\node\test\simple>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants