From: Vadim Zeitlin Date: Fri, 26 Sep 2003 17:11:49 +0000 (+0000) Subject: applied part of the patch 811993 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e19971c37070ce13ed10fd9e6c72c7885daaa70f applied part of the patch 811993 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/mbconv.tex b/docs/latex/wx/mbconv.tex index dd5653d371..8ff0e52809 100644 --- a/docs/latex/wx/mbconv.tex +++ b/docs/latex/wx/mbconv.tex @@ -67,6 +67,10 @@ Converts from Unicode to multibyte encoding. The semantics of this function (including the return value meaning) is the same as for \helpref{MB2WC}{wxmbconvmb2wc}. +Notice that when the function is called with a non-{\tt NULL} buffer, the +{\it n} parameter should be the size of the buffer and so it {\bf should} take +into account the trailing NUL, which might take two or four bytes for some +encodings (UTF-16 and UTF-32). \membersection{wxMBConv::cMB2WC}\label{wxmbconvcmb2wc}