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;
|
//qDebug()<<encodingName<<execEncodingName;
|
||||||
if (checkSyntax) {
|
if (checkSyntax) {
|
||||||
result << "-finput-charset=" + encodingName;
|
result << "-finput-charset=" + encodingName;
|
||||||
} else if (encodingName!=execEncodingName) {
|
} else if (QString::compare(encodingName, execEncodingName, Qt::CaseInsensitive) != 0) {
|
||||||
result += {
|
result += {
|
||||||
"-finput-charset=" + encodingName,
|
"-finput-charset=" + encodingName,
|
||||||
"-fexec-charset=" + execEncodingName,
|
"-fexec-charset=" + execEncodingName,
|
||||||
|
|
Loading…
Reference in New Issue