Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unicode support
#3
One more modification to correct work with UTF-8 - edit file out/out.ViewFolder.php .
Locate this line (2x - lines 100 and 120):
PHP Code:
<?php 
if (strlen($comment) > 50) $comment = substr($comment, 0, 47) . "...";

change to:
PHP Code:
<?php 
if (strlen($comment) > 50) $comment = mb_substr($comment, 0, 47, "utf-8") . "...";

Reply


Messages In This Thread
Unicode support - by dzingis - 04-24-2010, 03:18 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)