encoding name sensitivity
This commit is contained in:
parent
57c4b4d646
commit
88db0b283a
|
@ -401,7 +401,7 @@ QStringList Compiler::getCharsetArgument(const QByteArray& encoding,FileType fil
|
|||
//qDebug()<<encodingName<<execEncodingName;
|
||||
if (checkSyntax) {
|
||||
result << "-finput-charset=" + encodingName;
|
||||
} else if (encodingName!=execEncodingName) {
|
||||
} else if (QString::compare(encodingName, execEncodingName, Qt::CaseInsensitive) != 0) {
|
||||
result += {
|
||||
"-finput-charset=" + encodingName,
|
||||
"-fexec-charset=" + execEncodingName,
|
||||
|
|
Loading…
Reference in New Issue