better multibyte-char handling for special wrap cases. show unknown chars as x.