Skip to content

Commit 2b31975

Browse files
committed
fix encoding
1 parent 84b0126 commit 2b31975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/PVutils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function getPvValue(
6060
return updatedPV.text;
6161
} else if (updatedPV.b64byt != null) {
6262
// PV value is base64 encoded
63-
return atob(updatedPV.b64byt);
63+
return Buffer.from(updatedPV.b64byt, "base64").toString("utf-8");
6464
} else if (updatedPV.value != null) {
6565
// PV value is a number
6666
return updatedPV.value;

0 commit comments

Comments
 (0)