Account for partial UTF8 byte-sequences in get_max_chars_in_width()