Merge lp:~pac72/stellarium/fix-landscape-html-descr-encoding into lp:stellarium/0.11

Proposed by Alexander Wolf
Status: Merged
Merged at revision: 4913
Proposed branch: lp:~pac72/stellarium/fix-landscape-html-descr-encoding
Merge into: lp:stellarium/0.11
Diff against target: 11 lines (+1/-0)
1 file modified
src/core/modules/LandscapeMgr.cpp (+1/-0)
To merge this branch: bzr merge lp:~pac72/stellarium/fix-landscape-html-descr-encoding
Reviewer Review Type Date Requested Status
Alexander Wolf Approve
Review via email: mp+65938@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexander Wolf (alexwolf) wrote :

Hight priority bug fix (reproduce on Windows)

Revision history for this message
Alexander Wolf (alexwolf) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/core/modules/LandscapeMgr.cpp'
2--- src/core/modules/LandscapeMgr.cpp 2011-05-31 20:35:59 +0000
3+++ src/core/modules/LandscapeMgr.cpp 2011-06-27 07:13:27 +0000
4@@ -972,6 +972,7 @@
5 QFile file(descriptionFile);
6 file.open(QIODevice::ReadOnly | QIODevice::Text);
7 QTextStream in(&file);
8+ in.setCodec("UTF-8");
9 desc = in.readAll();
10 file.close();
11 }

Subscribers

People subscribed via source and target branches