Files
scriptc/tests/corpus/2892-windows-console-unicode.ts
Chris Tateandeuxaristia 472748956b Render UTF-8 output in Windows consoles (#340)
- Configure attached Windows consoles for UTF-8 while preserving redirected bytes and restoring host state.
- Add cross-platform output coverage and a native pseudo-console regression.

Fixes #321

Co-authored-by: euxaristia <25621994+euxaristia@users.noreply.github.com>
2026-09-16 14:48:27 -05:00

7 lines
215 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const text = "─ · › αβγ 你好 🎉";
console.log("console.log", text);
console.error("console.error", text);
process.stdout.write(`stdout.write ${text}\n`);
process.stderr.write(`stderr.write ${text}\n`);