Hello
Someone know how i can find out the size of a unicode string?
Unicode string is a bin data?
Thanks
Hello
Someone know how i can find out the size of a unicode string?
Unicode string is a bin data?
Thanks
There should be always be a strlen() type of function for your unicode strings.
strlen() is just for ANSI caracters
I need something that give me the size of some unicode string
Thanks
If you're using standard wchar's, then strlen() is called wcslen(). If you're using other kinds of wide characters, then that library/header will define a strlen-type function called ... something. Presumably you know what library/header you're using.
What you use depends on what your string is encoded as. What encoding are you using? ("Unicode" is not a valid answer.)
For UTF-8 string that are nul terminated, strlen() will return the length, in bytes, of that string.
(On Windows, you're likely dealing with UTF-16, if you're using Unicode, and tabstop's method should work.)
long time; /* know C? */
Unprecedented performance: Nothing ever ran this slow before.
Any sufficiently advanced bug is indistinguishable from a feature.
Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31.
The best way to accelerate an IBM is at 9.8 m/s/s.
recursion (re - cur' - zhun) n. 1. (see recursion)