[Development] RFC: Proposal for a semi-radical change in Qt APIs taking strings

Matthew Woehlke mwoehlke.floss at gmail.com
Thu Oct 15 16:17:29 CEST 2015


On 2015-10-14 18:27, Thiago Macieira wrote:
> On Wednesday 14 October 2015 21:51:23 Bubke Marco wrote:
>> Is UTF 16 seekable? You still have surrogates and you can merge merge code
>> points.
> 
> Seekable enough. It's much easier to deal with than UTF-8. A surrogate pair, 
> as its name says, appears *only* in pairs, so you always know if you're on the 
> first or on the second. Moreover, all living languages are encoded in the Basic 
> Multilingual Plane, so no surrogate pairs are required for any of them. 
> Handling of surrogate pairs can be moved to non-critical codepaths.

Oh? 😕

-- 
Matthew




More information about the Development mailing list