mirror of https://github.com/procxx/kepka.git
Fix non-utf8 text in commit 31ed5214f0
This commit is contained in:
parent
befa910b9c
commit
e609b4464d
|
@ -44,9 +44,8 @@ QString ExpressionMailNameAtEnd() {
|
|||
}
|
||||
|
||||
QString ExpressionSeparators(const QString &additional) {
|
||||
// UTF8 quotes: «»“”‘’
|
||||
const auto quotes = QString::fromUtf8("\xC2\xAB\xC2\xBB\xE2\x80\x9C\xE2\x80\x9D\xE2\x80\x98\xE2\x80\x99");
|
||||
return qsl("\\s\\.,:;<>|'\"\\[\\]\\{\\}\\~\\!\\?\\%\\^\\(\\)\\-\\+=\\x10") + quotes + additional;
|
||||
const auto utf8quotes = QString::fromUtf8("\xC2\xAB\xC2\xBB\xE2\x80\x9C\xE2\x80\x9D\xE2\x80\x98\xE2\x80\x99");
|
||||
return qsl("\\s\\.,:;<>|'\"\\[\\]\\{\\}\\~\\!\\?\\%\\^\\(\\)\\-\\+=\\x10") + utf8quotes + additional;
|
||||
}
|
||||
|
||||
QString ExpressionHashtag() {
|
||||
|
|
Loading…
Reference in New Issue