* move utf8 handling stuff into strbuf, so we can be more exact about our buffer...