4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: chlee on March 31, 2005, 07:07:23 PM
-
I find that if I enable word wrap for comment text, the comment text will not show traditional chinese characters (big5 encoding) correctly. If I turn it off, the comment text displayed without problem. Thus, the problem must be in this line in the function format_text in includes/functions.php
$text = preg_replace("/([^\n\r ?&\.\/<>\"\\-]{".$word_wrap."})/i", " \\1\n", $text);
The problem is specific to big5 encoding. Any solution?