- Constructs a new wxConvAuto instance. The object will try to detect the input
- of the multibyte text given to its wxMBConv::ToWChar method
- automatically but if the automatic detection of Unicode encodings fails, the
- fall-back encoding @a enc will be used to interpret it as multibyte text.
- The default value of this parameter, @c wxFONTENCODING_DEFAULT means
- that the global default value which can be set using
- @ref setdefaultmbencoding() SetFallbackEncoding method should be
- used. As with that method, passing @c wxFONTENCODING_MAX inhibits using
- this encoding completely so the input multibyte text will always be interpreted
- as UTF-8 in the absence of BOM and the conversion will fail if the input
- doesn't form valid UTF-8 sequence. Another special value is
- @c wxFONTENCODING_SYSTEM which means to use the encoding currently used
- on the user system, i.e. the encoding returned by
- wxLocale::GetSystemEncoding. Any other
- encoding will be used as is, e.g. passing @c wxFONTENCODING_ISO8859_1
- ensures that non-UTF-8 input will be treated as latin1.
+ Constructs a new wxConvAuto instance. The object will try to detect the
+ input of the multibyte text given to its wxMBConv::ToWChar() method
+ automatically but if the automatic detection of Unicode encodings
+ fails, the fall-back encoding @a enc will be used to interpret it as
+ multibyte text.
+
+ The default value of @a enc, @c wxFONTENCODING_DEFAULT, means that the
+ global default value (which can be set using SetFallbackEncoding())
+ should be used. As with that method, passing @c wxFONTENCODING_MAX
+ inhibits using this encoding completely so the input multibyte text
+ will always be interpreted as UTF-8 in the absence of BOM and the
+ conversion will fail if the input doesn't form valid UTF-8 sequence.
+
+ Another special value is @c wxFONTENCODING_SYSTEM which means to use
+ the encoding currently used on the user system, i.e. the encoding
+ returned by wxLocale::GetSystemEncoding(). Any other encoding will be
+ used as is, e.g. passing @c wxFONTENCODING_ISO8859_1 ensures that
+ non-UTF-8 input will be treated as latin1.