diff options
author | frazze-jobb <frazze@erlang.org> | 2023-05-05 11:07:53 +0200 |
---|---|---|
committer | Rickard Green <rickard@erlang.org> | 2023-05-05 18:44:44 +0200 |
commit | 338958e904bd3a7803a277b5e7af67985999b1f2 (patch) | |
tree | 6b8654715844f6015e0bb5eadfdf65116a56a1d4 /plt | |
parent | 36a02676a4c30d915518453a2664b8338fd46d85 (diff) | |
download | erlang-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 'plt')
0 files changed, 0 insertions, 0 deletions