Truncate utf8 compatibly