Forums

[resolved] Collapsing Categories and UTF8 encoding (1 post)

  1. Murielle
    Member
    Posted 2 years ago #

    If anyone is interested in UTF8 encoding in Collapsing Categories, specially when using truncated post-title, an easy solution exists.
    Replace in collapscatlist.php on line 568 or so :

    $tmp_text = substr($title_text, 0, $postTitleLength );

    by

    $tmp_text = mb_substr($title_text, 0, $postTitleLength, 'UTF-8');

    You won't get anymore strange characters in your post-titles...

Topic Closed

This topic has been closed to new replies.

About this Topic