init mbstring encoding PHP 5.6+ compatible way
fix test affected by APP_CHARSET