Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.5, 6.6
-
None
-
-
8
-
13fbedd16 (dev), cfd963909 (6.6), d44aae135 (dev), 3a5339b41 (dev), ba8b0fdcf (6.6), b93d92f43 (tqtc/lts-6.5), 2e9bb2ee5 (dev), 94214fe10 (dev), e1180150e (6.6), 8d1dfdd91 (6.6), 5e0c6b5fa (6.6), 50304af36 (tqtc/lts-6.5), ca3a17b1f (tqtc/lts-6.5)
-
Foundation Sprint 93, Foundations Sprint 94
Description
(QLocal8Bit::convertToUnicode_sys)
For example, the character '𠂇' from the GB 18030 character set is encoded as 4 octets.
Right now we receive the error "Invalid flags." from the Windows API we use. But even in theory, dropping the incompatible flag, we are only at most storing 1 octet in the state for resumption.
So, even if we handled this case we would fail in the cases where there is 2 or 3 octets provided.