Skip to content

Commit

Permalink
Context help are always in UTF-8, so on Win32 we need to convert the …
Browse files Browse the repository at this point in the history
…files when loading.

git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_8_0@6697 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Feb 25, 2007
1 parent fde6929 commit e641c36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpviewer/qgshelpviewer.cpp
Expand Up @@ -117,6 +117,7 @@ void QgsHelpViewer::loadContext(const QString &contextId)
else
{
QTextStream in(&file);
in.setCodec("UTF-8"); // Help files must be in Utf-8
while (!in.atEnd()) {
QString line = in.readLine();
helpContents += line;
Expand Down

0 comments on commit e641c36

Please sign in to comment.