handle dwidth characters.