• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLUTION FOUND]Validation library has incorrect length rules for non-latin utf8 characters

#6
[eluser]Skuja[/eluser]
form_validation uses mb_strlen function only if it available, otherwise standard strlen is used:
Code:
if (function_exists('mb_strlen'))
{
    return (mb_strlen($str) < $val) ? FALSE : TRUE;        
}

return (strlen($str) < $val) ? FALSE : TRUE;
Please check if you have loaded mbstring extension in your php.ini file
this line should be un uncomented:
Code:
extension=php_mbstring.dll


Messages In This Thread
[SOLUTION FOUND]Validation library has incorrect length rules for non-latin utf8 characters - by El Forum - 12-15-2008, 07:17 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.