.\" This is a wxWidgets manpage page generated from the XML docs .TH wxMBConvUTF16 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxMBConvUTF16 \- .SH DESCRIPTION This class is used to convert between multibyte encodings and UTF-16 Unicode encoding (also known as UCS-2). Unlike UTF-8 encoding, UTF-16 uses words and not bytes and hence depends on the byte ordering: big or little endian. Hence this class is provided in two versions: wxMBConvUTF16LE and wxMBConvUTF16BE and wxMBConvUTF16 itself is just a typedef for one of them (native for the given platform, e.g. LE under Windows and BE under Mac). .SH "PARENTS" wxMBConv .SH "INCLUDE FILES" wx/strconv.h .SH MEMBERS .SS size_t MB2WC (wchar_t* bufconst char* pszsize_t n) Converts from UTF-16 encoding to Unicode. Returns the size of the destination buffer. .SS size_t WC2MB (char* bufconst wchar_t* pszsize_t n) Converts from Unicode to UTF-16 encoding. Returns the size of the destination buffer. .SH "SEE ALSO" wxMBConv wxMBConvUTF8 wxMBConvUTF32 wxMBConv classes overview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.