coreybutler / nvm-windows

A node.js version management utility for Windows. Ironically written in Go.
MIT License
37.28k stars 3.32k forks source link

[Issue]: When Windows username contains umlaut the installer fails #1097

Closed TanerUnal closed 6 months ago

TanerUnal commented 8 months ago

What happened?

Installation directory of nvm installer is by default ".../Users/[USERNAME]/...". But when the Windows username contains umlaut character like ü/Ü, ö/Ö, ... the installer fails eventually. On command line it is visible that the umlaut character fails to be read correctly.

What did you expect to happen?

Installer in all stages should be able to locate the Windows user folder even if the username contains umlaut characters like ü/Ü and ö/Ö.

Version

1.1.11 or newer (Default)

Which version of Windows?

Windows 11

Which locale?

English

Which shell are you running NVM4W in?

cmd

User Permissions?

Administrative Privileges, Elevated

Is Developer Mode enabled?

No

Relevant log/console output

No response

Anything else?

I forgot the exact stage this failure occurs, since I actually experienced this problem a few weeks ago and did a walkaround by changing the installation directory.

tocram1 commented 7 months ago

726

Pretty much any "special" character makes this issue appear, I cannot install any node version because my name has a "é"... I never thought Windows and other apps would still have issues with basic UTF-8 or Unicode characters, but here we are! Apparently this is a workaround to fix this issue, I am yet to try it though.

EDIT: This workaround fixed it for me! https://github.com/coreybutler/nvm-windows/issues/726#issuecomment-1067088011

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 6 months ago

This issue was closed because it has been stalled for 7 days with no activity.