• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/docs/latex/wx/

Lines Matching refs:to

19 The wxMBConv classes in wxWidgets enable an Unicode-aware application to
26 across country boundaries as never before, applications increasingly need to
28 is no longer enough to just depend on the default byte-sized character set that
31 A few years ago, a solution was proposed: the Unicode standard. Able to contain
39 Unicode data from one Unicode-aware system to another may need encoding to an
40 8-bit multibyte encoding (UTF-7 or UTF-8 is typically used for this purpose), to
46 identical to wchar\_t rather than char, and a wxString stores wxChars. Hence,
49 just need to remember to use the wxT() macro to encapsulate any string
54 need a way to quickly convert your easily-handled Unicode data to and from a
63 for your own custom encoding and use it, should you need it. All you need to do
72 A variable, wxConvCurrent, points to the conversion object that the user
73 interface is supposed to use, in the case that the user interface is not
74 Unicode-based (like with GTK+ 1.2). By default, it points to wxConvLibc or
80 which character set it should use, which makes it meaningful to keep many
84 The predefined wxCSConv instance, wxConvLocal, is preset to use the
85 default user character set, but you should rarely need to use it directly,
86 it is better to go through wxConvCurrent.
90 Once you have chosen which object you want to use to convert your text,
113 Example 4: Printing a wxString to stdout in UTF-8 encoding.
119 Example 5: Printing a wxString to stdout in custom encoding.
127 Note: Since mb\_str() returns a temporary wxCharBuffer to hold the result
128 of the conversion, you need to explicitly cast it to const char* if you use
133 If you have specialized needs, or just don't want to use wxString, you
135 This can even be useful if you need to do conversion in a non-Unicode
136 build of wxWidgets; converting a string from UTF-8 to the current
144 string. The wxString constructor then converts it back to an 8-bit character
156 To print a wxChar buffer to a non-Unicode stdout:
162 If you need to do more complex processing on the converted data, you
163 may want to store the temporary buffer in a local variable: