From db19ee7e15309a7b59756d5176ff20e5ade8dfa1 Mon Sep 17 00:00:00 2001 From: Antonin ENFRUN Date: Wed, 23 Nov 2022 21:41:35 +0100 Subject: [PATCH] webassembly/library: Extract and send data to print as UInt8Array. This allows utf-8 data to work. It's the receiving layer's responsibility to deal with decoding the data. --- ports/webassembly/README.md | 2 +- ports/webassembly/library.js | 16 ++++++---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/ports/webassembly/README.md b/ports/webassembly/README.md index 89b8b1def7..5019d6f905 100644 --- a/ports/webassembly/README.md +++ b/ports/webassembly/README.md @@ -70,7 +70,7 @@ something to stdout. The following code demonstrates basic functionality: