X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..c50f92d08cc3633f8127931e7cf5d362ab8ac392:/docs/latex/wx/mbconv.tex 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}