Trim invisible characters at string edges - #331
Conversation
| || (ch == QChar(8203)) // zero width space | ||
| || (ch == QChar(0x200C)) // zero width non-joiner | ||
| || (ch == QChar(0x200D)) // zero width joiner | ||
| || (ch == QChar(0x2060)) // word joiner | ||
| || (ch == QChar(0x1160)) // hangul jungseong filler | ||
| || (ch == QChar(0x3164)) // hangul filler | ||
| || (ch == QChar(0xFFA0)) // halfwidth hangul filler | ||
| || (ch == QChar(0x17B4)) // khmer vowel inherent aq | ||
| || (ch == QChar(0x17B5)) // khmer vowel inherent aa | ||
| || (ch == QChar(0x2800));// braille pattern blank |
There was a problem hiding this comment.
looks like it's going to break lots of language scripts
d06c3f4 to
5f36db4
Compare
|
Thanks! The idea is right and replacing the ad-hoc
|
cdb7eb9 to
fd7f37b
Compare
|
Thanks for the update — the hangul jungseong filler, the braille blank and the khmer inherent vowels are gone, the helper is file-local now, and the comment is both shorter and accurate. Two things below, and one retraction of my own previous suggestion.
|
fd7f37b to
e98d046
Compare
|
Thanks — the joining controls and the hangul fillers are gone and the title is fixed. One item left, and it is the one I suggested myself, so my apologies for the extra round.
|
e98d046 to
e2cadf3
Compare
No description provided.