Mercurial > hg > fapweb
comparison msitegen.inc.php @ 1101:c9c73d2c4702
PHP7 compatibility fix.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 23 May 2018 22:34:15 +0300 |
parents | 7bfa5a38b6ca |
children | dd0071a3162a |
comparison
equal
deleted
inserted
replaced
1100:ed9270f65a37 | 1101:c9c73d2c4702 |
---|---|
1140 if (!isset($localeInited) || !$localeInited) | 1140 if (!isset($localeInited) || !$localeInited) |
1141 { | 1141 { |
1142 $localeInited = TRUE; | 1142 $localeInited = TRUE; |
1143 $pageCharset = "UTF-8"; | 1143 $pageCharset = "UTF-8"; |
1144 | 1144 |
1145 mb_internal_encoding($pageCharset); | 1145 //mb_internal_encoding($pageCharset); |
1146 | 1146 |
1147 $tmp = "en_US.".strtolower(str_replace("-", "", $pageCharset)); | 1147 $tmp = "en_US.".strtolower(str_replace("-", "", $pageCharset)); |
1148 setlocale(LC_ALL, $tmp); | 1148 setlocale(LC_ALL, $tmp); |
1149 } | 1149 } |
1150 ?> | 1150 ?> |