forked from qt-creator/qt-creator
C++/CppTools: Pass UTF-8 encoded source to Lexer
The Lexer can handle it now. Task-number: QTCREATORBUG-7356 Change-Id: I8c4b03a247656e013d44c3cedca4835e133d4036 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -749,7 +749,7 @@ Preprocessor::Preprocessor(Client *client, Environment *env)
|
||||
|
||||
QByteArray Preprocessor::run(const QString &fileName, const QString &source)
|
||||
{
|
||||
return run(fileName, source.toLatin1());
|
||||
return run(fileName, source.toUtf8());
|
||||
}
|
||||
|
||||
QByteArray Preprocessor::run(const QString &fileName,
|
||||
|
||||
Reference in New Issue
Block a user