diff --git a/src/common/folding.cc b/src/common/folding.cc index b28397b4..f8b99d9d 100644 --- a/src/common/folding.cc +++ b/src/common/folding.cc @@ -22,8 +22,8 @@ std::u32string apply( std::u32string const & in, bool preserveWildcards ) { // remove diacritics (normalization), white space, punt, auto temp = QString::fromStdU32String( in ) - .remove( RX::markSpace ) .normalized( QString::NormalizationForm_KD ) + .remove( RX::markSpace ) .removeIf( [ preserveWildcards ]( const QChar & ch ) -> bool { return ch.isPunct() && !( preserveWildcards && ( ch == '\\' || ch == '?' || ch == '*' || ch == '[' || ch == ']' ) );