geary/sql/version-006.sql
Charles Lindsay cee5a81df1 Properly decode Unicode folder names; fix #5217
Previously, we were taking folder names as they came off the wire.
Turns out IMAP specifies that folder names with 8 bit code points are
encoded in a crazy scheme unique to IMAP.  Now, we properly decode that
scheme to the correct UTF-8 folder names to be displayed to the user.

There's also now a database upgrade path that converts all existing
mailboxes to the decoded version, so your existing database should just
keep working.
2013-02-25 15:01:37 -08:00

7 lines
342 B
SQL

--
-- Dummy database upgrade to fix folder names being stored in encoded form.
-- Before this version, all folder names are stored as they came off the wire.
-- After this version, all folder names are stored in canonical UTF-8 form.
-- See src/engine/imap-db/imap-db-database.vala in post_upgrade() for the code
-- that runs the upgrade.
--