Menu

#32 wrong utf8 text truncating

open
nobody
None
5
2005-10-28
2005-10-28
No

If there is no title in term comment, a truncated body
is used as title in activity log and mail message.

Sometimes the string can be cut in the middle of the
2byte utf8 character as it happened in this situation -
http://www.laka.lv/pipermail/term-discussions/2005-October/000414.html

The truncating should be done with a proper multibyte
function.

Discussion

  • Peteris Caune

    Peteris Caune - 2005-10-31

    Logged In: YES
    user_id=1268346

    fixed in cvs version - new function in config.php - utf8_substr

     
  • Peteris Caune

    Peteris Caune - 2005-11-18

    Logged In: YES
    user_id=1268346

    This has been fixed for some time already.

     

Log in to post a comment.

MongoDB Logo MongoDB