indiantarget / quimeraengine

0 stars 0 forks source link

Fix QStringUnicode and iterators #699

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Until now, QStringUnicode worked with UTF16 characters that were in the range 
U+0000 to U+FFFF. Characters with higher values are coded using surrogates, 
pairs of 16 bits code units. ICU strings works with code units (even when its 
documentation says "character"), so it is necessary to adapt the QStringUnicode 
class and its iterators for accessing directly each codepoint instead of every 
code unit.

Original issue reported on code.google.com by Lince3D@gmail.com on 2 Dec 2014 at 2:56

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 3 Dec 2014 at 3:09