Simplify check for empty string
Only add bytes that are part of the parsed multibyte character instead of blindly adding the whole string