X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7d34a619bcc79ef30f70d7636a6f4be4b30c354..a0c2e4a050f4f2e8d344483ba4cfaa8b08a1fe87:/docs/latex/wx/mbcnvfil.tex diff --git a/docs/latex/wx/mbcnvfil.tex b/docs/latex/wx/mbcnvfil.tex index f394797bbb..fc3f3d8388 100644 --- a/docs/latex/wx/mbcnvfil.tex +++ b/docs/latex/wx/mbcnvfil.tex @@ -1,24 +1,19 @@ -% -% automatically generated by HelpGen from -% ../include/wx/strconv.h at 25/Mar/00 10:20:56 -% - \section{\class{wxMBConvFile}}\label{wxmbconvfile} -This class used to be used for defining the class instance +This class used to define the class instance {\bf wxConvFileName}, but nowadays {\bf wxConvFileName} is either of type wxConvLibc (on most platforms) or wxConvUTF8 (on MacOS X). {\bf wxConvFileName} converts filenames between filesystem multibyte encoding and Unicode. {\bf wxConvFileName} can also be set to a something else at run-time which is used e.g. by wxGTK to use a class which checks the environment -variable {\bf G_FILESYSTEM_ENCODING} indicating that filenames +variable {\bf G\_FILESYSTEM\_ENCODING} indicating that filenames should not be interpreted as UTF8 and also for converting -invalid UTF8 characters (e.g. if there is a filename in iso8859_1) +invalid UTF8 characters (e.g. if there is a filename in iso8859\_1) to strings with octal values. -Since some platforms (e.g. Win32) use Unicode in the filenames, -and others (e.g. Unix) use multibyte encodings, this class should only +Since some platforms (such as Win32) use Unicode in the filenames, +and others (such as Unix) use multibyte encodings, this class should only be used directly if wxMBFILES is defined to 1. A convenience macro, wxFNCONV, is defined to wxConvFileName->cWX2MB in this case. You could use it like this: