<?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 => 'zh',
  ),
  'this' => 
  array (
    0 => 'exif.configuration.php',
    1 => '运行时配置',
    2 => '运行时配置',
  ),
  'up' => 
  array (
    0 => 'exif.setup.php',
    1 => '安装/配置',
  ),
  'prev' => 
  array (
    0 => 'exif.installation.php',
    1 => '安装',
  ),
  'next' => 
  array (
    0 => 'exif.constants.php',
    1 => '预定义常量',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    '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">运行时配置</h2>
 <p class="simpara">
这些函数的行为受 <var class="filename">php.ini</var> 中的设置影响。
</p>
 <p class="para">
  当 <a href="ref.mbstring.php" class="link">mbstring</a> 模块可用时，exif
  支持用户注释中的 Unicode 和 JIS
  字符编码的自动转换。这是通过先用指定字符集将注释解码，把结果再用另一个符合你的
  <code class="literal">HTTP</code> 输出的字符集编码来实现的。

 <table class="doctable table">
  <caption><strong>Exif configuration options</strong></caption>
  
   <thead>
     <tr>
      <th>名字</th>
      <th>默认</th>
      <th>可修改范围</th>
      <th>更新日志</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>

  有关 INI_* 样式的更多详情与定义，见 <a href="configuration.changes.modes.php" class="xref">配置可被设定范围</a>。
 </p>

 <p class="para">这是配置指令的简短说明。</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> 定义了 UNICODE
    用户注释被处理的字符集。默认为
    ISO-8859-15，可用于大多数非亚洲国家。本设置可以为空或者必须为一个
    mbstring 所支持的编码。如果为空，则使用当前 mbstring
    内部使用的编码。
   </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> 定义了 Unicode
     编码的用户注释的图像内部字符集，如果图像是摩托罗拉字节顺序（big-endian）的话。本设置不能为空但可以指定一个
     mbstring 支持的编码列表。默认为 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> 定义了 Unicode
     编码的用户注释的图像内部字符集，如果图像是英特尔字节顺序（little-endian）的话。本设置不能为空但可以指定一个
     mbstring 支持的编码列表。默认为 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> 定义了 JIS
     用户注释被处理的字符集。默认为空值，迫使函数使用当前
     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> 定义了 JIS
     编码的用户注释的图像内部字符集，如果图像是摩托罗拉字节顺序（big-endian）的话。本设置不能为空但可以指定一个
     mbstring 支持的编码列表。默认为 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> 定义了 JIS
     编码的用户注释的图像内部字符集，如果图像是英特尔字节顺序（litle-endian）的话。本设置不能为空但可以指定一个
     mbstring 支持的编码列表。默认为 JIS。
    </span>
   </dd>
  
 </dl>
</div><?php manual_footer($setup); ?>