5a92181ac1
Don't optimize the required length as this is a tiny gain resulting in big
problems with the strings containing surrogates for which the actual result is
shorter than the length returned, resulting in extra NUL bytes at the end of
the converted buffer.
This is similar to
|
||
---|---|---|
.. | ||
crt.cpp | ||
iostream.cpp | ||
numformatter.cpp | ||
stdstrings.cpp | ||
strings.cpp | ||
tokenizer.cpp | ||
unichar.cpp | ||
unicode.cpp | ||
vararg.cpp | ||
vsnprintf.cpp |