61 lines
1.6 KiB
TeX
61 lines
1.6 KiB
TeX
|
%
|
||
|
% automatically generated by HelpGen from
|
||
|
% ../include/wx/strconv.h at 25/Mar/00 10:20:56
|
||
|
%
|
||
|
|
||
|
\section{\class{wxCSConv}}\label{wxcsconv}
|
||
|
|
||
|
This class converts between any character sets and Unicode.
|
||
|
It has one predefined instance, {\bf wxConvLocal}, for the
|
||
|
default user character set.
|
||
|
|
||
|
\wxheading{Derived from}
|
||
|
|
||
|
\helpref{wxMBConv}{wxmbconv}
|
||
|
|
||
|
\wxheading{Include files}
|
||
|
|
||
|
<wx/strconv.h>
|
||
|
|
||
|
\wxheading{See also}
|
||
|
|
||
|
\helpref{wxMBConv}{wxmbconv},
|
||
|
\helpref{wxEncodingConverter}{wxencodingconverter},
|
||
|
\helpref{wxMBConv classes overview}{mbconvclasses}
|
||
|
|
||
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||
|
|
||
|
\membersection{wxCSConv::wxCSConv}\label{wxcsconvwxcsconv}
|
||
|
|
||
|
\func{}{wxCSConv}{\param{const wxChar* }{charset}}
|
||
|
|
||
|
Constructor. Specify the name of the character set you want to convert
|
||
|
from/to.
|
||
|
|
||
|
\membersection{wxCSConv::\destruct{wxCSConv}}\label{wxcsconvdtor}
|
||
|
|
||
|
\func{}{\destruct{wxCSConv}}{\void}
|
||
|
|
||
|
Destructor.
|
||
|
|
||
|
\membersection{wxCSConv::LoadNow}\label{wxcsconvloadnow}
|
||
|
|
||
|
\func{void}{LoadNow}{\void}
|
||
|
|
||
|
If the conversion tables needs to be loaded from disk, this method
|
||
|
will do so. Otherwise, they will be loaded when any of the conversion
|
||
|
methods are called.
|
||
|
|
||
|
\membersection{wxCSConv::MB2WC}\label{wxcsconvmb2wc}
|
||
|
|
||
|
\constfunc{size\_t}{MB2WC}{\param{wchar\_t* }{buf}, \param{const char* }{psz}, \param{size\_t }{n}}
|
||
|
|
||
|
Converts from the selected character set to Unicode. Returns the size of the destination buffer.
|
||
|
|
||
|
\membersection{wxCSConv::WC2MB}\label{wxcsconvwc2mb}
|
||
|
|
||
|
\constfunc{size\_t}{WC2MB}{\param{char* }{buf}, \param{const wchar\_t* }{psz}, \param{size\_t }{n}}
|
||
|
|
||
|
Converts from Unicode to the selected character set. Returns the size of the destination buffer.
|
||
|
|