[Vala] how can I get the number of unicode points in a string?



I see that since 0.11.0 vala string.length returns number of bytes rather than that of unicode characters, 
and string[i] returns only one byte. I wonder how to deal with east Asian character strings.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]