Investigate charset issue with database #13
Labels
No Label
No Milestone
No Assignees
3 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: autonomic-cooperative/git.autonomic.zone#13
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If you post an emoji or sometimes an image, the database explodes...
Have we checked what collation we are using for the database?
OK, confirmed on charset/collation!
Annndddd, it works! 🎉 🎉 🎉
ALTER DATABASE gitea CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;
Emojis still give me a 500 sadly :/ Also gitea crashes and doesn't trigger drone if you use an emoji in the first line of a commit message in a repo with a webhook. Regretfully reopening.
🕴️
8f78bd6862
I also had to run https://docs.gitea.io/en-us/command-line/#convert.
I will push a commit with an emoji now just to test again.
943958846a