Closed f2404 closed 8 years ago
// we are including the null terminating byte in the size calculation size++;
That is in utf8size, not utf8len. Size is for the number of bytes of memory required to take the utf8 string (so needs the terminating \0)
Ok, got it.