microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.92k stars 6.33k forks source link

Non-ASCII username: Many things break #38990

Closed omartijn closed 2 months ago

omartijn commented 4 months ago

Describe the bug When using vcpkg from a user-account with non-ASCII characters in the name, many things break.

Environment

To Reproduce Try to install any package, either standalone or in manifest mode.

Expected behavior Package should build and install

Failure logs

File download fails, because ${ENV{VCPKG_COMMAND}} is messed up. Downloading the file manually and placing it in the downloads folder gets us to the next errors: The C compiler is unable to compile a simple test program.

Note that running vcpkg in the same VM from a user account only containing ASCII characters works.

Osyotr commented 4 months ago

Don't use non-ascii symbols in usernames and paths ¯⁠\⁠⁠(⁠ツ⁠)⁠⁠/⁠¯

omartijn commented 4 months ago

@MonicaLiu0311 Why is this marked as a question? It's clearly a bug.

omartijn commented 4 months ago

Don't use non-ascii symbols in usernames and paths ¯⁠\⁠⁠(⁠ツ⁠)⁠⁠/⁠¯

If only that were an option. Since people are using our software with these usernames on Windows and they are running into issues, I need to be able to debug this.

dg0yt commented 4 months ago

If only that were an option. Since people are using our software with these usernames on Windows and they are running into issues, I need to be able to debug this.

And once it is fixed in one place, people will just build another package which stumbles over it. It won't stop soon.

MonicaLiu0311 commented 4 months ago

quick-start-windows

Thank you for your feedback, currently we recommend installing vcpkg to a path without non-ASCII characters and may not resolve this issue for a while.

Similar issues: #5995

github-actions[bot] commented 3 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.