Compare commits

...

1 Commits

Author SHA1 Message Date
janrupf
3bdf63b0ee GH-2065 Strip non ASCII chars 2019-06-22 01:35:07 +02:00

View File

@@ -304,6 +304,10 @@ QString RemoveInvalidFilenameChars(QString string, QChar replaceWith)
{ {
string[i] = replaceWith; string[i] = replaceWith;
} }
else if(string[i] > 127) // non ASCII
{
string[i] = replaceWith;
}
} }
return string; return string;
} }