support UTF-8 surrogate pair, tweak display style.