Address encoding issues when using search engine on Windows (closes #29)

This commit is contained in:
Christophe Dumez
2012-09-15 16:54:09 +03:00
parent 8a12382f1f
commit d12c5cdf55
6 changed files with 775 additions and 391 deletions

View File

@@ -443,6 +443,12 @@ void SearchEngine::updateNova() {
removePythonScriptIfExists(filePath);
QFile::copy(":/"+nova_folder+"/socks.py", filePath);
if (nova_folder == "nova") {
filePath = search_dir.absoluteFilePath("fix_encoding.py");
removePythonScriptIfExists(filePath);
QFile::copy(":/"+nova_folder+"/fix_encoding.py", filePath);
}
if (nova_folder == "nova3") {
filePath = search_dir.absoluteFilePath("sgmllib3.py");
removePythonScriptIfExists(filePath);