summaryrefslogtreecommitdiff
path: root/program/include/iniset.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/iniset.php')
-rwxr-xr-xprogram/include/iniset.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/program/include/iniset.php b/program/include/iniset.php
index 192de7984..a6c4666d7 100755
--- a/program/include/iniset.php
+++ b/program/include/iniset.php
@@ -74,9 +74,10 @@ ini_set('error_reporting', E_ALL&~E_NOTICE);
@set_time_limit(120);
// set internal encoding for mbstring extension
-if(extension_loaded('mbstring'))
+if (extension_loaded('mbstring')) {
mb_internal_encoding(RCMAIL_CHARSET);
-
+ @mb_regex_encoding(RCMAIL_CHARSET);
+}
/**
* Use PHP5 autoload for dynamic class loading