From 01bff7bc4b1f35fc0a4e1844a5b86f04e4427cf6 Mon Sep 17 00:00:00 2001 From: lauckhart Date: Sun, 15 Dec 2024 10:19:26 -0800 Subject: [PATCH] Workaround for node bug 56219 (#1522) https://github.com/nodejs/node/issues/56219 breaks our base-64 encoder. Node is off spec and should release fix quickly. Normally I wouldn't patch but in this case workaround is innocuous. Fixes #1516 Co-authored-by: Ingo Fischer --- packages/general/src/codec/Base64Codec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/general/src/codec/Base64Codec.ts b/packages/general/src/codec/Base64Codec.ts index b602d4553f..f277ef921b 100644 --- a/packages/general/src/codec/Base64Codec.ts +++ b/packages/general/src/codec/Base64Codec.ts @@ -77,7 +77,7 @@ export namespace Base64 { } } - return new TextDecoder("iso-8859-1").decode(out); + return new TextDecoder().decode(out); } /**