fix(dotnet): preserve leading Unicode content in metadata strings (#667)

Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>
This commit is contained in:
Rudy Mizrahi Celekli
2026-10-06 16:18:01 +08:00
committed by GitHub
parent 94cc8475e0
commit ddea06360a
5 changed files with 71 additions and 2 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ export const readMetadataString = (
start,
);
try {
return new TextDecoder("utf-8", { fatal: true }).decode(
return new TextDecoder("utf-8", { fatal: true, ignoreBOM: true }).decode(
bytes.subarray(start, end),
);
} catch (cause: unknown) {