Skip to content

Commit

Permalink
Fix: When previewing SVG, report error "Failed to execute 'btoa' on '…
Browse files Browse the repository at this point in the history
…Window': The string to be encoded contains characters outside of the Latin1 range."

When previewing SVG, report error:

`viewer-main.mjs?v=79b66689-10:588 Error evaluating async computed property: Error: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.`

ref: https://stackoverflow.com/questions/23223718/failed-to-execute-btoa-on-window-the-string-to-be-encoded-contains-characte

Signed-off-by: XinRoom <32238570+XinRoom@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
XinRoom authored and nextcloud-command committed Aug 20, 2024
1 parent a46f5a3 commit cdfb58b
Show file tree
Hide file tree
Showing 5 changed files with 9,345 additions and 11 deletions.
Loading

0 comments on commit cdfb58b

Please sign in to comment.