Issue #8508 has been updated by thasmo (Thomas Deinhamer).


Hi there!

Line 173 in the registry.rb file here on my PC is this one:
super msg.tr("\r", '').chomp

I'm sorry, I don't know how to set locale_charmap
and I'm not sure what a codepage is.

I'm running the App (Vagrant) using Cygwin on the mintty.exe terminal.

If you wanna tell me how to find out the codepage I can provide you with that info.

Thank you!
----------------------------------------
Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
https://bugs.ruby-lang.org/issues/8508#change-39838

Author: thasmo (Thomas Deinhamer)
Status: Feedback
Priority: Normal
Assignee: cruby-windows
Category: M17N
Target version: 
ruby -v: 1.9.3
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Hi guys!

I'm using Vagrant and the VMware workstation plugin to provision a VMware workstation VM
but in the end this doesn't work because I get an error in win32/registry.rb:

"C:/HashiCorp/Vagrant/embedded/lib/ruby/1.9.1/win32/registry.rb:173:in `tr': invalid byte sequence in UTF-8 (ArgumentError)"

The Vagrant debug log which includes the error trace can be found here:
https://gist.github.com/thasmo/12f88c7b1025aa5f2c32

The related Vagrant bug ticket can be found here:
https://github.com/mitchellh/vagrant/issues/1757#issuecomment-19175619

Please let me know if you need any further information on this!

Thanks a lot!


-- 
http://bugs.ruby-lang.org/