Garbled non-ASCII characters
Closed this issue · 1 comments
Describe the bug
Non-ASCII characters are garbled on the AppDetails screen, but work fine elsewhere
Platform:
Affects all platforms
To Reproduce
Using a custom repo with the following repo.json:
{
"packages": [
{
"name": "test",
"title": "Testin’",
"author": "test",
"version": "1.0.0",
"details": "Testin’"
}
]
}
And going the app details page, the apostrophe "’" (U+2019) becomes garbled; this also happens to other non-ASCII characters.
On other screens and the title at the top of the app details it's fine.
Thank you for the report and example repo to reproduce! This appears to be fixed now with the new localization support (which also supports more UTF8 characters) in: b22b249. The very specific change that fixes this page is the use of TTF_RenderUTF8_Blended_Wrapped
instead of TTF_RenderText_Blended_Wrapped
in Chesto's TextElement.
Image of App Details after those changes: