<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<section xml:id="exif.configuration" xmlns="http://docbook.org/ns/docbook">
 &reftitle.runtime;
 &extension.runtime;
 <para>
  Exif supports automatically conversion for Unicode and JIS 
  character encodings of user comments when module
  <link linkend="ref.mbstring">mbstring</link>
  is available. This is done by first decoding the comment
  using the specified characterset. The result is then encoded
  with another characterset which should match your
  <literal>HTTP</literal> output.
 <table>
  <title>Exif configuration options</title>
  <tgroup cols="4">
   <thead>
    <row>
     <entry>&Name;</entry>
     <entry>&Default;</entry>
     <entry>&Changeable;</entry>
     <entry>&Changelog;</entry>
    </row>
   </thead>
   <tbody xml:id="exif.configuration.list">
    <row>
     <entry><link linkend="ini.exif.encode-unicode">exif.encode_unicode</link></entry>
     <entry>"ISO-8859-15"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry></entry>
    </row>
    <row>
     <entry><link linkend="ini.exif.decode-unicode-motorola">exif.decode_unicode_motorola</link></entry>
     <entry>"UCS-2BE"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry></entry>
    </row>
    <row>
     <entry><link linkend="ini.exif.decode-unicode-intel">exif.decode_unicode_intel</link></entry>
     <entry>"UCS-2LE"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry></entry>
    </row>
    <row>
     <entry><link linkend="ini.exif.encode-jis">exif.encode_jis</link></entry>
     <entry>""</entry>
     <entry>PHP_INI_ALL</entry>
     <entry></entry>
    </row>
    <row>
     <entry><link linkend="ini.exif.decode-jis-motorola">exif.decode_jis_motorola</link></entry>
     <entry>"JIS"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry></entry>
    </row>
    <row>
     <entry><link linkend="ini.exif.decode-jis-intel">exif.decode_jis_intel</link></entry>
     <entry>"JIS"</entry>
     <entry>PHP_INI_ALL</entry>
     <entry></entry>
    </row>
    </tbody>
   </tgroup>
  </table>
  &ini.php.constants;
 </para>
 
 &ini.descriptions.title;
 
 <para>
  <variablelist>
   <varlistentry xml:id="ini.exif.encode-unicode">
    <term>
     <parameter>exif.encode_unicode</parameter>
     <type>string</type>
    </term>
    <listitem>
    <para>
     <literal>exif.encode_unicode</literal> defines the 
     characterset UNICODE user comments are handled.
     This defaults to ISO-8859-15 which should work for
     most non Asian countries. The setting can be empty
     or must be an encoding supported by mbstring. If it
     is empty the current internal encoding of mbstring is
     used.
    </para>
    </listitem>
   </varlistentry>
    <varlistentry xml:id="ini.exif.decode-unicode-motorola">
    <term>
     <parameter>exif.decode_unicode_motorola</parameter>
     <type>string</type>
    </term>
    <listitem>
     <para>
      <literal>exif.decode_unicode_motorola</literal> defines 
      the image internal characterset for Unicode encoded user 
      comments if image is in motorola byte order (big-endian).
      This setting cannot be empty but you can specify a list
      of encodings supported by mbstring. The default is UCS-2BE.
     </para>
    </listitem>
   </varlistentry>
    <varlistentry xml:id="ini.exif.decode-unicode-intel">
    <term>
     <parameter>exif.decode_unicode_intel</parameter>
     <type>string</type>
    </term>
    <listitem>
     <para>
      <literal>exif.decode_unicode_intel</literal> defines 
      the image internal characterset for Unicode encoded user 
      comments if image is in intel byte order (little-endian).
      This setting cannot be empty but you can specify a list
      of encodings supported by mbstring. The default is UCS-2LE.
     </para>
    </listitem>
   </varlistentry>
    <varlistentry xml:id="ini.exif.encode-jis">
    <term>
     <parameter>exif.encode_jis</parameter>
     <type>string</type>
    </term>
    <listitem>
     <para>
      <literal>exif.encode_jis</literal> defines the 
      characterset JIS user comments are handled.
      This defaults to an empty value which forces 
      the functions to use the current internal encoding
      of mbstring.
     </para>
    </listitem>
   </varlistentry>
    <varlistentry xml:id="ini.exif.decode-jis-motorola">
    <term>
     <parameter>exif.decode_jis_motorola</parameter>
     <type>string</type>
    </term>
    <listitem>
     <para>
      <literal>exif.decode_jis_motorola</literal> defines 
      the image internal characterset for JIS encoded user 
      comments if image is in motorola byte order (big-endian).
      This setting cannot be empty but you can specify a list
      of encodings supported by mbstring. The default is JIS.
     </para>
    </listitem>
   </varlistentry>
    <varlistentry xml:id="ini.exif.decode-jis-intel">
    <term>
     <parameter>exif.decode_jis_intel</parameter>
     <type>string</type>
    </term>
    <listitem>
     <para>
      <literal>exif.decode_jis_intel</literal> defines 
      the image internal characterset for JIS encoded user 
      comments if image is in intel byte order (little-endian).
      This setting cannot be empty but you can specify a list
      of encodings supported by mbstring. The default is JIS.
     </para>
    </listitem>
   </varlistentry>
  </variablelist>
 </para>
</section>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
