Skip to content

Commit

Permalink
Don't break =
Browse files Browse the repository at this point in the history
  • Loading branch information
KTibow authored and tsndr committed Mar 8, 2024
1 parent e49bada commit 38b8c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function base64StringToArrayBuffer(b64str: string): ArrayBuffer {
}

export function textToArrayBuffer(str: string): ArrayBuffer {
return byteStringToBytes(decodeURI(encodeURIComponent(str)))
return byteStringToBytes(str)
}

export function arrayBufferToText(arrayBuffer: ArrayBuffer): string {
Expand Down

0 comments on commit 38b8c3e

Please sign in to comment.