From: Vadim Zeitlin Date: Mon, 3 Apr 2006 22:16:22 +0000 (+0000) Subject: fixed LaTeX markup to suit tex2rtf X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5e51fb4ca59f3094a13d471f3209c922bbd0bc46 fixed LaTeX markup to suit tex2rtf git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/mbconv.tex b/docs/latex/wx/mbconv.tex index 102186019a..5071ae595e 100644 --- a/docs/latex/wx/mbconv.tex +++ b/docs/latex/wx/mbconv.tex @@ -18,7 +18,7 @@ text strings between multibyte (SBCS or DBCS) encodings and Unicode. In the documentation for this and related classes please notice that \emph{length} of the string refers to the number of characters in the string not counting the terminating \NUL, if any. While the \emph{size} of the string -is the total number of bytes in the string, including any trailing {\NUL}s. +is the total number of bytes in the string, including any trailing \NUL. Thus, length of wide character string \texttt{L"foo"} is $3$ while its size can be either $8$ or $16$ depending on whether \texttt{wchar\_t} is $2$ bytes (as under Windows) or $4$ (Unix). @@ -82,7 +82,7 @@ interested in the length of the resulting string} \wxheading{Return value} -The length of the converted string \emph{excluding} the trailing {\NUL}. +The length of the converted string \emph{excluding} the trailing \NUL. \membersection{wxMBConv::WC2MB}\label{wxmbconvwc2mb} @@ -95,7 +95,7 @@ Converts from Unicode to multibyte encoding. The semantics of this function Notice that when the function is called with a non-\NULL buffer, the {\it n} parameter should be the size of the buffer and so it \emph{should} take -into account the trailing NUL, which might take two or four bytes for some +into account the trailing \NUL, which might take two or four bytes for some encodings (UTF-16 and UTF-32) and not one. @@ -111,7 +111,7 @@ the result. The first overload takes a \NUL-terminated input string. The second one takes a string of exactly the specified length and the string may include or not the -trailing {\NUL}s. If the string is not \NUL-terminated, a temporary +trailing \NUL character(s). If the string is not \NUL-terminated, a temporary \NUL-terminated copy of it suitable for passing to \helpref{MB2WC}{wxmbconvmb2wc} is made, so it is more efficient to ensure that the string is does have the appropriate number of \NUL bytes (which is usually $1$ but may be $2$ or $4$