From e08a7802c2e8ee741cf7530f11e9916804895a13 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Tue, 12 Nov 2024 15:45:04 -0300 Subject: [PATCH] fix: Use unicode signer name Signed-off-by: Vitor Mattos --- src/store/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/files.js b/src/store/files.js index c4d983f5af..16764f2b35 100644 --- a/src/store/files.js +++ b/src/store/files.js @@ -175,7 +175,7 @@ export const useFilesStore = function(...args) { addIdentifierToSigner(signer) { // generate unique code to new signer to be possible delete or edit if ((signer.identify === undefined || signer.identify === '') && signer.signRequestId === undefined) { - signer.identify = btoa(JSON.stringify(signer)) + signer.identify = btoa(String.fromCharCode(...new TextEncoder().encode(JSON.stringify(signer)))) } if (signer.signRequestId) { signer.identify = signer.signRequestId