8 |
|
this->verboseEnabled=!noVerbose; |
9 |
|
|
10 |
|
if(forceTargetFilesWildcard!=""){ |
11 |
< |
std::cout << "User forced patch in the target file(s): " << forceTargetFilesWildcard.toLatin1().constData() << std::endl; |
11 |
> |
std::cout << "User forced patch in the target file(s): " << forceTargetFilesWildcard.toUtf8().constData() << std::endl; |
12 |
|
} |
13 |
|
|
14 |
|
if(this->patchFilesToProcess.isEmpty()){ |
57 |
|
UtilXmlTools::displayErrorMessage("@ADD_INSIDE_NODES","No XML files were found for the wildcard: "+filesWildcard); |
58 |
|
} |
59 |
|
|
60 |
< |
result=newNode.load(xmlString.toLatin1().constData()); // load xml to insert |
60 |
> |
result=newNode.load(xmlString.toUtf8().constData()); // load xml to insert |
61 |
|
|
62 |
|
if(result.status!=pugi::status_ok){ |
63 |
|
UtilXmlTools::displayErrorMessage("@ADD_INSIDE_NODES", "The xml node to insert is invalid.\n" + Util::toQString(result.description())); |