Hi:
Enjoyed Andrei's talk at the NYPHP Conference last week about unicode in
PHP 6. He mentioned that when unicode.semantics is on, strlen() will
return the number of characters rather than the number of bytes, like
mb_string() does or strlen() if mbstring.func_overload is on.
The hitch here is there are situations where one needs to know how many
bytes are in a string. Is there a function I've overlooked that does
this or will do this, please?
Thanks,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php