2 % automatically generated by HelpGen from
3 % ../include/wx/strconv.h at 25/Mar/00 10:20:56
6 \section{\class{wxCSConv
}}\label{wxcsconv
}
8 This class converts between any character sets and Unicode.
9 It has one predefined instance,
{\bf wxConvLocal
}, for the
10 default user character set.
12 \wxheading{Derived from
}
14 \helpref{wxMBConv
}{wxmbconv
}
16 \wxheading{Include files
}
22 \helpref{wxMBConv
}{wxmbconv
},
23 \helpref{wxEncodingConverter
}{wxencodingconverter
},
24 \helpref{wxMBConv classes overview
}{mbconvclasses
}
26 \latexignore{\rtfignore{\wxheading{Members
}}}
28 \membersection{wxCSConv::wxCSConv
}\label{wxcsconvwxcsconv
}
30 \func{}{wxCSConv
}{\param{const wxChar*
}{charset
}}
32 Constructor. Specify the name of the character set you want to convert
35 \membersection{wxCSConv::
\destruct{wxCSConv
}}\label{wxcsconvdtor
}
37 \func{}{\destruct{wxCSConv
}}{\void}
41 \membersection{wxCSConv::LoadNow
}\label{wxcsconvloadnow
}
43 \func{void
}{LoadNow
}{\void}
45 If the conversion tables needs to be loaded from disk, this method
46 will do so. Otherwise, they will be loaded when any of the conversion
49 \membersection{wxCSConv::MB2WC
}\label{wxcsconvmb2wc
}
51 \constfunc{size
\_t}{MB2WC
}{\param{wchar
\_t*
}{buf
},
\param{const char*
}{psz
},
\param{size
\_t }{n
}}
53 Converts from the selected character set to Unicode. Returns the size of the destination buffer.
55 \membersection{wxCSConv::WC2MB
}\label{wxcsconvwc2mb
}
57 \constfunc{size
\_t}{WC2MB
}{\param{char*
}{buf
},
\param{const wchar
\_t*
}{psz
},
\param{size
\_t }{n
}}
59 Converts from Unicode to the selected character set. Returns the size of the destination buffer.