Fix truncate on utf-8 symbols