Zitat von David Brown <[EMAIL PROTECTED]>:

> This is kind of a user-space question, but I'm hoping that it concerns
> enough of the PHP infrastructure (conceptually) that this is the right
> place to post it.

This should rather be asked on the i18n mailing list if not on php-general.
But as you already asked:
 
> I've got an application that processes both textual and binary data. The
> domain of the application isn't really relevant, but it makes liberal
> use of string and pcre function.
> 
> Ignoring the fact (?) that php_pcre doesn't seem to be mb-aware...
> Say I were to turn on the mb_string overload support, effectively
> replacing strlen, etc. with equivalent multibyte functions. Is there any
> way then to still get the exact size, in bytes, of a 'string' of binary
> data?

If you write the application, why do you want to depend on a certain php.ini
setting? I won't use overloading at all but call the mbstring functions
directly where appropriate and the "original" string function else.

Please respond to one of the above mentioned lists.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to