<?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 => 'ja',
  ),
  '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' => 'ja',
    '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 設定オプション</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 のユーザーコメントを扱うための内部文字セットを定義します。
     この設定は空白にすることはできず、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 のユーザーコメントを扱うための内部文字セットを定義します。
     この設定は空白にすることはできず、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 のユーザーコメントを扱うための内部文字セットを定義します。
     この設定は空白にすることはできず、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 のユーザーコメントを扱うための内部文字セットを定義します。
     この設定は空白にすることはできず、mbstring がサポートしている
     エンコーディングの中から指定します。デフォルトは JIS です。
    </span>
   </dd>
  
 </dl>
</div><?php manual_footer($setup); ?>