Make linguist's source viewer read all files as UTF-8.
authorMitch Curtis <mitch.curtis@digia.com>
Tue, 12 Mar 2013 14:51:26 +0000 (15:51 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 17 Apr 2013 06:20:02 +0000 (08:20 +0200)
commitc4f1ac0fbcd452f440aee4a3304574cb7fbca0ce
treeea505b185ced9603b6f064e019136f8d7fb46438
parent795d35c2dc74d499af37b1dfd46a98c98e4c2f45
Make linguist's source viewer read all files as UTF-8.

It currently loads source files as latin1, which means unicode
characters are not supported.

4944ea0586 removes -codecfortr and hence the ability to specify an
encoding. lupdate will then treat all code as UTF-8, so this patch
does that too.

Task-number: QTBUG-27238

Change-Id: Iefed45de5b4925fee267834a5ed93457fc45b700
Reviewed-by: Debao Zhang <hello@debao.me>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/linguist/linguist/sourcecodeview.cpp