wxString & it's length

Vaclav Slavik vslavik at fastmail.fm
Thu Mar 6 06:17:11 PST 2008


Steven Van Ingelgem wrote:
> - If I get "Len()" to save the length, right now it returns in
> UTF8-build the amount of bytes (and not the actual characters)

Your are wrong, it _does_ return length in number of (Unicode) 
characters.

> - What if the string has NULL values in it?

Nothing different.

> But I can't get the byte length from wxCharBuffer (I can't get any
> length for that matter).

This will change before 2.9.0.

Vaclav

-- 
PGP key: 0x465264C9, available from http://pgp.mit.edu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080306/c2c559d6/attachment.pgp


More information about the wx-users mailing list