Page MenuHomePhabricator

[keyserver] Fix emojis in MySQL backups
ClosedPublic

Authored by ashoat on Jun 1 2022, 1:33 AM.
Tags
None
Referenced Files
F3496092: D4177.diff
Thu, Dec 19, 11:09 AM
Unknown Object (File)
Fri, Dec 6, 9:32 PM
Unknown Object (File)
Nov 7 2024, 1:54 PM
Unknown Object (File)
Nov 7 2024, 1:25 PM
Unknown Object (File)
Nov 7 2024, 1:24 PM
Unknown Object (File)
Nov 7 2024, 11:15 AM
Unknown Object (File)
Nov 7 2024, 9:56 AM
Unknown Object (File)
Oct 28 2024, 2:49 AM

Details

Summary

When I tested restoring my keyserver backup on my laptop, I noticed that all of the emojis were broken. I did some Googling and found some results that together pointed at this solution.

Depends on D4176

Test Plan

Backup my keyserver DB on server and then restore on my laptop

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat requested review of this revision.Jun 1 2022, 2:32 AM

Weird that this doesn't get picked up from MySQL.. we specify DEFAULT CHARSET for the messages/threads/etc table in setup-db.js

This revision is now accepted and ready to land.Jun 1 2022, 8:01 AM

Yeah, super weird. The people in the Twitter thread linked above had the exact same comment...

This revision was automatically updated to reflect the committed changes.