Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable30] fix: When previewing some SVG, 'btoa' report error: The string to be encoded contains characters outside of the Latin1 range." #2434

Merged
merged 1 commit into from
Aug 20, 2024

Commits on Aug 20, 2024

  1. Fix: When previewing SVG, report error "Failed to execute 'btoa' on '…

    …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>
    
    [skip ci]
    XinRoom authored and backportbot[bot] committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    cc38e4a View commit details
    Browse the repository at this point in the history