Replacing mb_* functions
Status: Beta
Brought to you by:
harryf
After going through this library it seems like it would be easiest to add this code to existing projects by checking for and overriding the mb_* functions as needed. For example, you could do something like this:
if ( extension_loaded('mbstring') == FALSE ) {
include('utf8.php');
}
which would contain all the matching string functions (called utf8_*) defined as mb_* functions for a quick drop in place solution to hosts that don't have mutlibyte string support. Perhaps, I'm missing something - but this would seem to be an easier way to implement this very useful function lib.