* src/vm/utf8.c, src/vm/utf8.h (utf_bytes): New function.
authoredwin <none@none>
Fri, 5 May 2006 13:56:35 +0000 (13:56 +0000)
committeredwin <none@none>
Fri, 5 May 2006 13:56:35 +0000 (13:56 +0000)
commit511fde7f7add8e8548d763b6086956d44e1bd28c
treead9ef8f98773efcb828055335db3848c380da188
parent7edcc9f5d2750b14bad2097eafb2ca469694b319
* src/vm/utf8.c, src/vm/utf8.h (utf_bytes): New function.
Use this function to query the number of octets of a utf string.
This function will become the correct replacement for the old
utf_strlen in most places. The calling code will have to be
reviewed for that, however, and it will also require fixing
utf_strcat, utf_sprint, and so on, to do the right thing.
src/vm/utf8.c
src/vm/utf8.h