Closed mikeapple closed 6 years ago
This makes sense to me now (ignore my last PR). The WriteAsync was being set of 0 to length of the string which works for ascii which is 1 byte per char but as utf-8 is 2 then the byte size is greater than the length of the string.
Good catch!
This makes sense to me now (ignore my last PR). The WriteAsync was being set of 0 to length of the string which works for ascii which is 1 byte per char but as utf-8 is 2 then the byte size is greater than the length of the string.