[Vala] how can I get the number of unicode points in a string?
- From: 琉璃井 <pharaoh456 163 com>
- To: lavalist <vala-list gnome org>
- Subject: [Vala] how can I get the number of unicode points in a string?
- Date: Sun, 3 Apr 2011 15:59:23 +0800 (CST)
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]