diff options
-rw-r--r-- | src/linguist/linguist/sourcecodeview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linguist/linguist/sourcecodeview.cpp b/src/linguist/linguist/sourcecodeview.cpp index aead2076e..a5cf23f1d 100644 --- a/src/linguist/linguist/sourcecodeview.cpp +++ b/src/linguist/linguist/sourcecodeview.cpp @@ -108,7 +108,7 @@ void SourceCodeView::showSourceCode(const QString &absFileName, const int lineNu appendHtml(tr("<i>File %1 not readable</i>").arg(absFileName)); return; } - fileText = QString::fromLatin1(file.readAll()); + fileText = QString::fromUtf8(file.readAll()); fileHash.insert(absFileName, fileText); } |