<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/exif.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'exif.configuration.php',
    1 => 'Runtime Configuration',
    2 => 'Runtime Configuration',
  ),
  'up' => 
  array (
    0 => 'exif.setup.php',
    1 => 'Installing/Configuring',
  ),
  'prev' => 
  array (
    0 => 'exif.installation.php',
    1 => 'Installation',
  ),
  'next' => 
  array (
    0 => 'exif.constants.php',
    1 => 'Predefined Constants',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/exif/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="exif.configuration" class="section">
 <h2 class="title">Runtime Configuration</h2>
 <p class="simpara">
The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.
</p>
 <p class="para">
  Exif supports automatically conversion for Unicode and JIS
  character encodings of user comments when module
  <a href="ref.mbstring.php" class="link">mbstring</a>
  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
  <code class="literal">HTTP</code> output.
 <table class="doctable table">
  <caption><strong>Exif configuration options</strong></caption>
  
   <thead>
    <tr>
     <th>Name</th>
     <th>Default</th>
     <th>Changeable</th>
     <th>Changelog</th>
    </tr>

   </thead>

   <tbody class="tbody">
    <tr>
     <td><a href="exif.configuration.php#ini.exif.encode-unicode" class="link">exif.encode_unicode</a></td>
     <td>&quot;ISO-8859-15&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="exif.configuration.php#ini.exif.decode-unicode-motorola" class="link">exif.decode_unicode_motorola</a></td>
     <td>&quot;UCS-2BE&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="exif.configuration.php#ini.exif.decode-unicode-intel" class="link">exif.decode_unicode_intel</a></td>
     <td>&quot;UCS-2LE&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="exif.configuration.php#ini.exif.encode-jis" class="link">exif.encode_jis</a></td>
     <td>&quot;&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="exif.configuration.php#ini.exif.decode-jis-motorola" class="link">exif.decode_jis_motorola</a></td>
     <td>&quot;JIS&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="exif.configuration.php#ini.exif.decode-jis-intel" class="link">exif.decode_jis_intel</a></td>
     <td>&quot;JIS&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    </tbody>
   
  </table>

  For further details and definitions of the
INI_* modes, see the <a href="configuration.changes.modes.php" class="xref">Where a configuration setting may be set</a>.
 </p>

 <p class="para">Here&#039;s a short explanation of
the configuration directives.</p>

 <dl>
  
   <dt id="ini.exif.encode-unicode">
    <code class="parameter">exif.encode_unicode</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
   <span class="simpara">
    <code class="literal">exif.encode_unicode</code> 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.
   </span>
   </dd>
  
   
   <dt id="ini.exif.decode-unicode-motorola">
    <code class="parameter">exif.decode_unicode_motorola</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <span class="simpara">
     <code class="literal">exif.decode_unicode_motorola</code> 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.
    </span>
   </dd>
  
   
   <dt id="ini.exif.decode-unicode-intel">
    <code class="parameter">exif.decode_unicode_intel</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <span class="simpara">
     <code class="literal">exif.decode_unicode_intel</code> 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.
    </span>
   </dd>
  
   
   <dt id="ini.exif.encode-jis">
    <code class="parameter">exif.encode_jis</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <span class="simpara">
     <code class="literal">exif.encode_jis</code> 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.
    </span>
   </dd>
  
   
   <dt id="ini.exif.decode-jis-motorola">
    <code class="parameter">exif.decode_jis_motorola</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <span class="simpara">
     <code class="literal">exif.decode_jis_motorola</code> 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.
    </span>
   </dd>
  
   
   <dt id="ini.exif.decode-jis-intel">
    <code class="parameter">exif.decode_jis_intel</code>
    <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
   </dt>
   <dd>
    <span class="simpara">
     <code class="literal">exif.decode_jis_intel</code> 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.
    </span>
   </dd>
  
 </dl>
</div><?php manual_footer($setup); ?>