From: <var...@us...> - 2022-01-20 15:22:31
|
Revision: 10917 http://sourceforge.net/p/phpwiki/code/10917 Author: vargenau Date: 2022-01-20 15:22:30 +0000 (Thu, 20 Jan 2022) Log Message: ----------- Set mb_regex_encoding so that mb_ereg_replace works; setlocale to UTF-8 so that basename works Modified Paths: -------------- trunk/lib/main.php Modified: trunk/lib/main.php =================================================================== --- trunk/lib/main.php 2022-01-20 15:15:20 UTC (rev 10916) +++ trunk/lib/main.php 2022-01-20 15:22:30 UTC (rev 10917) @@ -1425,6 +1425,8 @@ // Should this go into the constructor? $request->initializeTheme('default'); $request->updateAuthAndPrefs(); + setlocale(LC_ALL, 'en_US.UTF-8'); + mb_regex_encoding('UTF-8'); $request->initializeLang(); $request->possiblyDeflowerVirginWiki(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |