wxmbconvutf32this class is used to convert between multibyte encodings and utf-32 unicode encoding (also known as ucs-4). unlike utf-8 encoding, utf-32 uses (double) words and not bytes and hence depends on the byte ordering: big or little endian. hence this class is provided in two versions: wxmbconvutf32le and wxmbconvutf32be and wxmbconvutf32 itself is just a typedef for one of them (native for the given platform, e.g. le under windows and be under mac). derived from include files <wx/strconv.h> see also wxmbconvutf8, wxmbconvutf16, wxmbconv classes overview members
wxmbconvutf32::mb2wc
wxmbconvutf32::mb2wcsize_t mb2wc(wchar_t* buf, const char* psz, size_t n) const converts from utf-32 encoding to unicode. returns the size of the destination buffer.
wxmbconvutf32::wc2mbsize_t wc2mb(char* buf, const wchar_t* psz, size_t n) const converts from unicode to utf-32 encoding. returns the size of the destination buffer.
|