Package installer fails with multibyte characters in the readme #16725
Labels
area-packages
Issues, related to package management and workspaces
bug
The issue in the code or project, which should be addressed.
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Summary
On sites without a multibyte database, the installer fails to download or install manually uploaded Extras that have multibyte characters in the readme.
Step to reproduce
Observed behavior
Expected behavior
The Extra should download and install. There are workarounds—see below—but it would be nice for devs to be able to use any character in their readme files.
Environment
non-UTF8mb4 databases
Possible Solution
There may be a possilbe solution outlined here, along with a great explanation of the challenges involved above that anchor link. Hat tip to @jaygilmore for finding that.
Workarounds
@gpsietzema, who originally pointed this out, suggested a workaround on databases that can support it:
You can manually convert emojis to html-entieis, e.g., 🚀 →
🚀
. On Mac, Raycast can copy the unicode values of any emoji character using ⌘⇧U in their emoji picker, e.g.,U+1F680
for this example. You then would swap theU+
with&#x
and add a semicolon at the end;
of each unicode string—if multiple, strip out any spaces between them.The text was updated successfully, but these errors were encountered: