diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-09 12:54:21 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-09 12:54:21 +0000 |
| commit | 93af327ec10d28026ae39326658fdc2a91b76010 (patch) | |
| tree | 3b211bcbdf17976e2193b3758ce7010b8e683fa0 /roundcubemail/program/include/iniset.php | |
| parent | 5496e6fd8aad3a22dde79a5c5c9e3efbd392ba5a (diff) | |
- set mbstring's internal encoding in proper place
git-svn-id: https://svn.roundcube.net/trunk@1968 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/iniset.php')
| -rwxr-xr-x | roundcubemail/program/include/iniset.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roundcubemail/program/include/iniset.php b/roundcubemail/program/include/iniset.php index 5fe10114d..f81c04a90 100755 --- a/roundcubemail/program/include/iniset.php +++ b/roundcubemail/program/include/iniset.php @@ -62,6 +62,11 @@ if (!ini_get('safe_mode')) { set_time_limit(120); } +// set internal encoding for mbstring extension +if(extension_loaded('mbstring')) + mb_internal_encoding(RCMAIL_CHARSET); + + /** * Use PHP5 autoload for dynamic class loading * |
