Don't we have plenty of helpers in UTF16to8 that do this already? cc @ethomson