<refentry id="GMimeFilterCharset">
<refmeta>
<refentrytitle role="top_of_page" id="GMimeFilterCharset.top_of_page">GMimeFilterCharset</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
  GMIME Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GMimeFilterCharset</refname>
<refpurpose>Charset-conversion filter</refpurpose>
</refnamediv>

<refsynopsisdiv id="GMimeFilterCharset.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>                    <link linkend="GMimeFilterCharset-struct">GMimeFilterCharset</link>;
<link linkend="GMimeFilter"><returnvalue>GMimeFilter</returnvalue></link> *       <link linkend="g-mime-filter-charset-new">g_mime_filter_charset_new</link>           (<parameter>const <link linkend="char"><type>char</type></link> *from_charset</parameter>,
                                                         <parameter>const <link linkend="char"><type>char</type></link> *to_charset</parameter>);
</synopsis>
</refsynopsisdiv>
<refsect1 id="GMimeFilterCharset.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----<link linkend="GMimeFilter">GMimeFilter</link>
         +----GMimeFilterCharset
</synopsis>
</refsect1>

<refsect1 id="GMimeFilterCharset.description" role="desc">
<title role="desc.title">Description</title>
<para>
A <link linkend="GMimeFilter"><type>GMimeFilter</type></link> which is used for converting text from one charset
to another.
</para>
</refsect1>
<refsect1 id="GMimeFilterCharset.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GMimeFilterCharset-struct" role="struct">
<title>GMimeFilterCharset</title>
<indexterm zone="GMimeFilterCharset-struct"><primary>GMimeFilterCharset</primary></indexterm>
<programlisting>typedef struct _GMimeFilterCharset GMimeFilterCharset;</programlisting>
<para>
A filter to convert between charsets.
</para><variablelist role="struct">
</variablelist></refsect2>
<refsect2 id="g-mime-filter-charset-new" role="function">
<title>g_mime_filter_charset_new ()</title>
<indexterm zone="g-mime-filter-charset-new"><primary>g_mime_filter_charset_new</primary></indexterm>
<programlisting><link linkend="GMimeFilter"><returnvalue>GMimeFilter</returnvalue></link> *       g_mime_filter_charset_new           (<parameter>const <link linkend="char"><type>char</type></link> *from_charset</parameter>,
                                                         <parameter>const <link linkend="char"><type>char</type></link> *to_charset</parameter>);</programlisting>
<para>
Creates a new <link linkend="GMimeFilterCharset"><type>GMimeFilterCharset</type></link> filter.
</para><variablelist role="params">
<varlistentry><term><parameter>from_charset</parameter>&#160;:</term>
<listitem><simpara>charset to convert from
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>to_charset</parameter>&#160;:</term>
<listitem><simpara>charset to convert to
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a new charset filter or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if the charset conversion is
not possible.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>

</refentry>
