diff --git a/packages/phoenix/src/puter-shell/coreutils/coreutil_lib/echo_escapes.js b/packages/phoenix/src/puter-shell/coreutils/coreutil_lib/echo_escapes.js index c084d723..8bcc0be1 100644 --- a/packages/phoenix/src/puter-shell/coreutils/coreutil_lib/echo_escapes.js +++ b/packages/phoenix/src/puter-shell/coreutils/coreutil_lib/echo_escapes.js @@ -104,7 +104,7 @@ const echo_escapes = { caller.output(NUL); return; } - caller.output(String.fromCharCode(Number.parseInt(hexchars, 8))); + caller.output(String.fromCharCode(Number.parseInt(octchars, 8))); }, '\\': caller => caller.output('\\'), };