diff --git a/src/utility/utils.ts b/src/utility/utils.ts index fff7834..59c371d 100644 --- a/src/utility/utils.ts +++ b/src/utility/utils.ts @@ -43,7 +43,7 @@ export const encodeBase64 = (data: string) => { return Buffer.from(data).toString('base64'); }; export const decodeBase64 = (data: string) => { - return Buffer.from(data, 'base64').toString('ascii'); + return Buffer.from(data, 'base64').toString('utf-8'); }; export const objectToJSON = (obj: object) => {