Yuriy M. Kaminskiy wrote:
> +** Compute a utf-8 string length (in characters rather than bytes)

Counting characters is an improvement.

But the number of characters is not necessarily the same as the number
of column positions required to display the string.  If you want to
handle CJK characters like 幅, you have to call wcwidth(), or use
your own lookup table of full-width characters.


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to