Set input encoding for *.desktop files of the agents

Review Request #126911 - Created Jan. 27, 2016 and submitted

Information
Alexey Chernov
akonadi
master, Applications/15.12
358658
Reviewers
akonadi
dvratil

It turned out that *.desktop files of Akonadi agents is imported with the incorrect encoding, so the AgentType objects are initialized with broken strings when non-latin locale is used. The patch sets "UTF-8" encoding of QSettings explicitly and removes any other conversion from UTF-8 as it's converted just out-of-the-box.

Tested on Akonadi-15.12.1, with KMail and Akonadiconsole clients where the problem was initially found. Applying the patch fixes it.

Laurent Montel
Alexey Chernov
Daniel Vrátil
Alexey Chernov
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit de588dc7fd459449ccc1d29fb30cee1774837140 by Alexey Chernov to branch Applications/15.12.
Loading...