diff --git a/plugins/providers/virtualbox/driver/base.rb b/plugins/providers/virtualbox/driver/base.rb index 8e95cd7f076..7d1739ba26f 100644 --- a/plugins/providers/virtualbox/driver/base.rb +++ b/plugins/providers/virtualbox/driver/base.rb @@ -442,8 +442,8 @@ def execute(*command, &block) if errored raise Vagrant::Errors::VBoxManageError, command: command.inspect, - stderr: r.stderr, - stdout: r.stdout + stderr: r.stderr.to_s.force_encoding("UTF-8"), + stdout: r.stdout.to_s.force_encoding("UTF-8") end end