From: <dai...@us...> - 2011-07-02 08:02:07
|
Revision: 4612 http://web-erp.svn.sourceforge.net/web-erp/?rev=4612&view=rev Author: daintree Date: 2011-07-02 08:02:01 +0000 (Sat, 02 Jul 2011) Log Message: ----------- use mb_strlen for multibyte string length tests as now using UTF-8 throughout Modified Paths: -------------- trunk/includes/LanguageSetup.php Modified: trunk/includes/LanguageSetup.php =================================================================== --- trunk/includes/LanguageSetup.php 2011-07-02 01:35:11 UTC (rev 4611) +++ trunk/includes/LanguageSetup.php 2011-07-02 08:02:01 UTC (rev 4612) @@ -2,6 +2,9 @@ /* $Id$ */ +/* Set internal character encoding to UTF-8 */ +mb_internal_encoding('UTF-8'); + /* This file is included in session.inc or PDFStarter.php or a report script that does not use PDFStarter.php to check for the existance of gettext function and setup the necessary enviroment to allow for automatic translation This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |