]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed LaTeX markup to suit tex2rtf
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Apr 2006 22:16:22 +0000 (22:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Apr 2006 22:16:22 +0000 (22:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/mbconv.tex

index 102186019a803b6a537f75e30b9305f0d127456e..5071ae595e663a4f0653ee7437a5de37db951102 100644 (file)
@@ -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$