Forums

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

  1. Murielle
    Member
    Posted 2 weeks 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...

Reply

You must log in to post.

About this Topic