![]() |
![]() |
![]() |
Camel Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
CamelMimeFilterWindows; CamelMimeFilter * camel_mime_filter_windows_new (const gchar *claimed_charset
); gboolean camel_mime_filter_windows_is_windows_charset (CamelMimeFilterWindows *filter
); const gchar * camel_mime_filter_windows_real_charset (CamelMimeFilterWindows *filter
);
typedef struct { CamelMimeFilter parent; gboolean is_windows; gchar *claimed_charset; } CamelMimeFilterWindows;
CamelMimeFilter * camel_mime_filter_windows_new (const gchar *claimed_charset
);
Create a new CamelMimeFilterWindows object that will analyse
whether or not the text is really encoded in claimed_charset
.
|
ISO charset name |
Returns : |
a new CamelMimeFilter object |
gboolean camel_mime_filter_windows_is_windows_charset
(CamelMimeFilterWindows *filter
);
Get whether or not the textual content filtered by filetr
is
really in a Microsoft Windows charset rather than the claimed ISO
charset.
|
a CamelMimeFilterWindows object |
Returns : |
TRUE if the text was found to be in a Microsoft Windows
CP125x charset or FALSE otherwise.
|
const gchar * camel_mime_filter_windows_real_charset
(CamelMimeFilterWindows *filter
);
Get the name of the actual charset used to encode the textual
content filtered by filter
(it will either be the original
claimed_charset passed in at creation time or the Windows-CP125x
equivalent).
|
a CamelMimeFilterWindows object |
Returns : |
the name of the actual charset |