Merge lp:~paulliu/indicators-client/fix-mojibake into lp:indicators-client

Proposed by Ying-Chun Liu
Status: Merged
Approved by: Renato Araujo Oliveira Filho
Approved revision: 209
Merged at revision: 209
Proposed branch: lp:~paulliu/indicators-client/fix-mojibake
Merge into: lp:indicators-client
Diff against target: 12 lines (+1/-1)
1 file modified
plugins/datetimeplugin/chewie_datetimeplugin.cpp (+1/-1)
To merge this branch: bzr merge lp:~paulliu/indicators-client/fix-mojibake
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Renato Araujo Oliveira Filho (community) Approve
Review via email: mp+166772@code.launchpad.net

Commit message

Fix incorrect datetime encoding to avoid mojibake: use fromUtf8() instead
of fromLatin1().

Description of the change

Fix incorrect datetime encoding.

To post a comment you must log in.

+1

review: Approve
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/datetimeplugin/chewie_datetimeplugin.cpp'
2--- plugins/datetimeplugin/chewie_datetimeplugin.cpp 2013-01-11 15:05:30 +0000
3+++ plugins/datetimeplugin/chewie_datetimeplugin.cpp 2013-05-31 12:24:30 +0000
4@@ -69,7 +69,7 @@
5 return "";
6 }
7
8- return QString::fromLatin1(timestr, size);
9+ return QString::fromUtf8(timestr, size);
10 }
11
12 bool ChewieDateTimePlugin::parseRootElement(const QString &type, QMap<int, QVariant> data)

Subscribers

People subscribed via source and target branches