diff --git a/f_config/config.php b/f_config/config.php index 1c40c8f2..19143b7d 100644 --- a/f_config/config.php +++ b/f_config/config.php @@ -8,6 +8,10 @@ define('IMAGES', '../../images'); define('ROOT', realpath(__dir__.'/..')); +mb_internal_encoding("UTF-8"); +mb_http_output('UTF-8'); +mb_regex_encoding('UTF-8'); + function logErrorByCustomHandler(int $errno, string $errstr, string $errfile, int $errline, array $errcontext){ if (!(error_reporting() & $errno)) { // This error code is not included in error_reporting, so let it fall