Index: branches/RC/core/kernel/globals.php =================================================================== diff -u -N -r9639 -r10098 --- branches/RC/core/kernel/globals.php (.../globals.php) (revision 9639) +++ branches/RC/core/kernel/globals.php (.../globals.php) (revision 10098) @@ -141,7 +141,7 @@ //echo $line . " - "; if(eregi('^[[a-z]+]$',str_replace(' ', '', $line))) { //echo 'section'; - $section = substr($line,1,(strlen($line)-2)); + $section = mb_substr($line,1,(mb_strlen($line)-2)); if ($parse_section) { $retval[$section] = array(); } @@ -268,17 +268,17 @@ $pass_structure.=${'c'.$strpart}; // shortcutting the loop a bit - $p=$p+strlen(${'c'.$strpart}); + $p=$p+mb_strlen(${'c'.$strpart}); } $previous=$strpart; } // generating the password from the structure defined in $pass_structure - for ($g=0;$g