adjusted indentation with astyle; added Id keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -9,17 +9,17 @@
|
||||
/**
|
||||
@class wxEncodingConverter
|
||||
@wxheader{encconv.h}
|
||||
|
||||
|
||||
This class is capable of converting strings between two
|
||||
8-bit encodings/charsets. It can also convert from/to Unicode (but only
|
||||
if you compiled wxWidgets with wxUSE_WCHAR_T set to 1). Only a limited subset
|
||||
of encodings is supported by wxEncodingConverter:
|
||||
@c wxFONTENCODING_ISO8859_1..15, @c wxFONTENCODING_CP1250..1257 and
|
||||
@c wxFONTENCODING_ISO8859_1..15, @c wxFONTENCODING_CP1250..1257 and
|
||||
@c wxFONTENCODING_KOI8.
|
||||
|
||||
|
||||
@library{wxbase}
|
||||
@category{misc}
|
||||
|
||||
|
||||
@seealso
|
||||
wxFontMapper, wxMBConv, @ref overview_nonenglishoverview "Writing non-English
|
||||
applications"
|
||||
@@ -48,18 +48,18 @@ public:
|
||||
Convert wxString and return new wxString object.
|
||||
*/
|
||||
bool Convert(const char* input, char* output);
|
||||
bool Convert(const wchar_t* input, wchar_t* output);
|
||||
bool Convert(const char* input, wchar_t* output);
|
||||
bool Convert(const wchar_t* input, char* output);
|
||||
bool Convert(char* str);
|
||||
bool Convert(wchar_t* str);
|
||||
wxString Convert(const wxString& input);
|
||||
bool Convert(const wchar_t* input, wchar_t* output);
|
||||
bool Convert(const char* input, wchar_t* output);
|
||||
bool Convert(const wchar_t* input, char* output);
|
||||
bool Convert(char* str);
|
||||
bool Convert(wchar_t* str);
|
||||
wxString Convert(const wxString& input);
|
||||
//@}
|
||||
|
||||
/**
|
||||
Similar to
|
||||
GetPlatformEquivalents(),
|
||||
but this one will return ALL
|
||||
Similar to
|
||||
GetPlatformEquivalents(),
|
||||
but this one will return ALL
|
||||
equivalent encodings, regardless of the platform, and including itself.
|
||||
|
||||
This platform's encodings are before others in the array. And again, if @e enc
|
||||
@@ -93,16 +93,16 @@ public:
|
||||
encodings. (It usually returns only one encoding.)
|
||||
*/
|
||||
static wxFontEncodingArray GetPlatformEquivalents(wxFontEncoding enc,
|
||||
int platform = wxPLATFORM_CURRENT);
|
||||
int platform = wxPLATFORM_CURRENT);
|
||||
|
||||
/**
|
||||
Initialize conversion. Both output or input encoding may
|
||||
be wxFONTENCODING_UNICODE, but only if wxUSE_ENCODING is set to 1.
|
||||
All subsequent calls to Convert()
|
||||
All subsequent calls to Convert()
|
||||
will interpret its argument
|
||||
as a string in @e input_enc encoding and will output string in
|
||||
as a string in @e input_enc encoding and will output string in
|
||||
@e output_enc encoding.
|
||||
You must call this method before calling Convert. You may call
|
||||
You must call this method before calling Convert. You may call
|
||||
it more than once in order to switch to another conversion.
|
||||
@e Method affects behaviour of Convert() in case input character
|
||||
cannot be converted because it does not exist in output encoding:
|
||||
@@ -111,13 +111,13 @@ public:
|
||||
|
||||
|
||||
follow behaviour of GNU Recode -
|
||||
just copy unconvertible characters to output and don't change them
|
||||
just copy unconvertible characters to output and don't change them
|
||||
(its integer value will stay the same)
|
||||
|
||||
@b wxCONVERT_SUBSTITUTE
|
||||
|
||||
|
||||
try some (lossy) substitutions
|
||||
try some (lossy) substitutions
|
||||
- e.g. replace unconvertible latin capitals with acute by ordinary
|
||||
capitals, replace en-dash or em-dash by '-' etc.
|
||||
|
||||
|
Reference in New Issue
Block a user