Skip to content

fix: Properly decode UTF-8 for Chinese characters (#764)#785

Open
ex3ndr-bot wants to merge 1 commit intoslopus:mainfrom
ex3ndr-bot:fix/chinese-characters-764
Open

fix: Properly decode UTF-8 for Chinese characters (#764)#785
ex3ndr-bot wants to merge 1 commit intoslopus:mainfrom
ex3ndr-bot:fix/chinese-characters-764

Conversation

@ex3ndr-bot
Copy link

Fixes Chinese/Unicode characters displaying as garbled text (mojibake) on iOS.

Root cause: atob() decodes base64 but interprets bytes as Latin1. For UTF-8 content, we need to decode the bytes through TextDecoder.

Fixes #764

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mobile: Chinese characters in Markdown files display as garbled text (mojibake)

1 participant