-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
incompatible character encodings: CP850 and Windows-1252 #3937
Comments
+1 - Maybe the 'é' in Hélio user? |
that's right, but it is still a bug 2014-06-27 16:23 GMT-03:00 insign notifications@github.com:
|
This bug is very annoying, do I have to create a new windows user profile for running vagrant? Or is there a workaround? My User has a "ä" in the name and I have the same problem. |
I created a new user and works
|
I am having the same issue with my Russian username. Only in my case the encodings are IBM866 and Windows-1251. |
yes, just need fix this line in ruby file. 2014-07-17 12:40 GMT-03:00 Ilya Vassilevsky notifications@github.com:
|
A quick hack would be to modify the first few lines in
etc. Don't forget to replace the string in the Note that this will also mean that your vagrant files might break if they contain characters that are not in the specified encoding, but all-ASCII files should be okay. |
Quick Note: On Windows 7 the appropriate character encoding seems to be I don't get the encoding error anymore, but:
How do I change the home directory? I'm running a fresh Vagrant 1.6.3 installation on Win7 (64Bit). |
@Anticom if you just call vagrant as the administrator user it will work, just pollute your /c/Users directory a bit. |
@sztupy My own account has admin permissions. 😮 |
#4159 fixes that |
@Anticom if you have UAC turned on then no, you don't |
@sztupy Oh okay. And you are saying, that if i boot a vagrant VM as admin it will work lateron on my account? |
This is a dupe of #2113. We're still not sure how to fix this yet. :( |
please fix this |
Hi @luisrudge - we would love to fix it, but we don't have a good solution yet :frowny: |
@Anticom I had set up system variable VAGRANT_HOME where specify path to my vagrant project (where i have rw access) |
Solved this bug, just set VAGRANT_HOME variable in CMD like this: This patch C:\HashiCorp\Vagrant by default install vagrant. Worked for me (OS Windows 8.1 x64) |
I fixed this issue by using the command above set VAGRANT_HOME=C:\HashiCorp\Vagrant AND Changing the default VM folder on VirtualBox preferences |
@andreroggeri this fixed for me too, my user name has an "é" character in it as well, so vagrant was probably bugging when checking the default vm folder wich was located under the "users/myusérname" folder, i just changed it to a generic folder "C:\VMs" and it worked. |
Please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! someone help me with this error? JESSICA-PC@JESSICA MINGW64 ~/desktop/blog/projeto (master) JESSICA-PC@JESSICA MINGW64 ~/desktop/blog/projeto (master) JESSICA-PC@JESSICA MINGW64 ~/desktop/blog/projeto (master)
|
amazing that this command fixed my vagrant bug with my name = Stéphane "é" |
I had to revert to 1.8.7 as 1.9 seems to have issues on Windows with curl and I couldn't fix that. |
Got this issue with version 2.0.4, could get it running with the solutions from this forum. set VAGRANT_HOME=C:\HashiCorp |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
When the user profile directory has accent, vagrant opens its beak, he can not read environment variables, because some of them are pulling something from the user profile directory it can not convert the charset
C:\Users\Hélio\Downloads>vagrant box add sonbox.box
'C:/HashiCorp/Vagrant/embedded/gems/gems/bundler-1.6.2/lib/bundler/runtime.rb:224:in
join': incompatible character encodings: CP850 and Windows-1252 (Encoding::Compatibil ityError) from C:/HashiCorp/Vagrant/embedded/gems/gems/bundler-1.6.2/lib/bundler/runtim e.rb:224:in
setup_environment'from C:/HashiCorp/Vagrant/embedded/gems/gems/bundler-1.6.2/lib/bundler/runtim
e.rb:15:in
setup' from C:/HashiCorp/Vagrant/embedded/gems/gems/bundler-1.6.2/lib/bundler.rb:127 :in
setup'from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.2/bin/vagrant:71:in
`
The text was updated successfully, but these errors were encountered: