8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
ruby -e ' require "systemu"; p Encoding.default_internal = Encoding.default_external; status, stdout, stderr = systemu "echo 3"; p [status, stdout.encoding, stderr]'
The result I got using ruby 2.3.1 and systemu 2.6.5 is:
#<Encoding:UTF-8> [#<Process::Status: pid 8346 exit 0>, #<Encoding:ASCII-8BIT>, ""]
I was expecting that changing default_internal would affect the encoding used by systemu. How can I tell systemu to use utf8 by default?
default_internal
systemu
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The result I got using ruby 2.3.1 and systemu 2.6.5 is:
I was expecting that changing
default_internal
would affect the encoding used bysystemu
. How can I tellsystemu
to use utf8 by default?The text was updated successfully, but these errors were encountered: