summaryrefslogtreecommitdiff
path: root/lib/stdlib/test/io_proto_SUITE.erl
diff options
context:
space:
mode:
authorfrazze-jobb <frazze@erlang.org>2023-05-05 11:07:53 +0200
committerRickard Green <rickard@erlang.org>2023-05-05 18:44:44 +0200
commit338958e904bd3a7803a277b5e7af67985999b1f2 (patch)
tree6b8654715844f6015e0bb5eadfdf65116a56a1d4 /lib/stdlib/test/io_proto_SUITE.erl
parent36a02676a4c30d915518453a2664b8338fd46d85 (diff)
downloaderlang-338958e904bd3a7803a277b5e7af67985999b1f2.tar.gz
kernel: support sending raw byte data over stdout
After rewriting the shell, group.erl converts everything to Unicode. However, this is problematic if you want to send raw byte data over stdout which may contain Erlang terms converted to binary that you want to convert back to Erlang term after data transfer. If io:setopts(_, {encoding, latin1}) is set, group.erl will just send the data directly to user_drv.erl which will send the data to prim_tty.erl without converting it to Unicode.
Diffstat (limited to 'lib/stdlib/test/io_proto_SUITE.erl')
0 files changed, 0 insertions, 0 deletions