fix invalid byte sequence in UTF-8
add test
Merge branch 'test' into fix_invalid_byte_UTF8
review
Merge branch 'fix_invalid_byte_UTF8'