wxWidgets/interface
Vadim Zeitlin 37dd89a0da Don't rely on wxMBConv::cWC2MB(NULL) returning the exact byte count
UTF-32 conversions use a useful optimization by avoiding the extra scan of the
input wchar_t string in their FromWChar() and cWC2MB() implementation when
they are only asked to compute the required buffer size without actually doing
the conversion. However this means that for an input string containing UTF-16
surrogates (which is possible under MSW where wchar_t is 16 bits) the actual
size of the output string can be smaller than that returned by FromWChar(NULL).

Document that this may happen and avoid relying on the exact equality in the
tests.

See #17070.
2015-11-13 19:36:33 +01:00
..
wx Don't rely on wxMBConv::cWC2MB(NULL) returning the exact byte count 2015-11-13 19:36:33 +01:00
check_syntax.sh Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00