Closed joetannenbaum closed 1 month ago
As @buhrmi mentioned in his PR, is it really needed to take up 3 bytes for all characters, even if the content does not contain multibyte characters?
We allot for the maximum (3x the characters) but only encode what we've written.
Fixes the buffer size to account for multi-byte characters when encrypting history.
Fixes #2028