Issue #2372101 by mfb: Fixed mb_eregi_replace() called without first calling mb_regex_encoding() and setting encoding to UTF-8.