https://bugs.kde.org/show_bug.cgi?id=376813

Christoph Feck <cf...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #5 from Christoph Feck <cf...@kde.org> ---
The code mentioned in comment #4 does not handle surrogate pairs correctly. A
QString is UTF-16 encoded, so the U+1F623 code point for the 😣 character
appears as 0xD83D 0xDE23, and both are non-printable surrogate code points.

There is a QChar::isPrint(uint) static method that works on full 32 bit code
points.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to