]> git.saurik.com Git - wxWidgets.git/commitdiff
applied part of the patch 811993
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 26 Sep 2003 17:11:49 +0000 (17:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 26 Sep 2003 17:11:49 +0000 (17:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/mbconv.tex

index dd5653d371c695146463034f715dbf8e37533253..8ff0e5280989212eaa1e11607eed63f1623969ab 100644 (file)
@@ -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}