Problem with umlauts in usernames #162
Labels
Bug
This is either an issue that describes a bug or a PR that resolves a bug
Status: Pending Release
This is fixed but not yet released.
Target: LTS
This is targeted to the LTS release.
Target: 3.x
This is targeted to the 3.x version.
Background Information:
Describe the bug
I try to create a shortcut with wslusc and it fails because my username contains an umlaut.
To Reproduce
My username created by Windows is
StephanHochdörfer
- In WSL2 I can commands like thisls -al /mnt/c/Users/StephanHochdörfer/
without any problems.This is the wslu command I try to execute:
wslusc -g -n MyApp /opt/myapp/bin/myapp.sh
This is the output of wslusc:
Expected behavior
The files should get created without a problem.
Additional context
It looks like wslvar needs to handle umlauts. When running
wslvar -s USERPROFILE
I getC:\Users\StephanHochd�rfer
as the output.The text was updated successfully, but these errors were encountered: