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

Vagrant doesn't work on Windows if user has special characters in the username #11431

Open
zanmoskotevc opened this issue Mar 5, 2020 · 1 comment

Comments

@zanmoskotevc
Copy link

Vagrant version

Vagrant 2.2.7

Host operating system

Windows 10 Pro N

Expected behavior

Vagrant should work with special characters in Windows username.

Actual behavior

It doesn't. It throws this:

C:/HashiCorp/Vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/environment.rb:193:in `encode': U+017D to IBM437 in conversion from Windows-1252 to UTF-8 to IBM437 (Encoding::UndefinedConversionError)

Steps to reproduce

  1. Create a Windows user with special characters in name (ščžäöü for example, or any special character...)
  2. Try running any vagrant command
  3. Get the error

References

Are there any other GitHub issues (open or closed) that should be linked here?
For example:

This is fixable using a custom path (setx VAGRANT_HOME), but I don't think that should be necessary.

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

No branches or pull requests

3 participants