add getUTF8Bytes and strlen8