php-doc-en/reference/image/ini.xml
2003-05-01 21:52:58 +00:00

182 lines
5.2 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<section id="image.configuration">
&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="3">
<thead>
<row>
<entry>Name</entry>
<entry>Default</entry>
<entry>Changeable</entry>
</row>
</thead>
<tbody>
<row>
<entry>exif.encode_unicode</entry>
<entry>"ISO-8859-15"</entry>
<entry>PHP_INI_ALL</entry>
</row>
<row>
<entry>exif.decode_unicode_motorola</entry>
<entry>"UCS-2BE"</entry>
<entry>PHP_INI_ALL</entry>
</row>
<row>
<entry>exif.decode_unicode_intel</entry>
<entry>"UCS-2LE"</entry>
<entry>PHP_INI_ALL</entry>
</row>
<row>
<entry>exif.encode_jis</entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
</row>
<row>
<entry>exif.decode_jis_motorola</entry>
<entry>"JIS"</entry>
<entry>PHP_INI_ALL</entry>
</row>
<row>
<entry>exif.decode_jis_intel</entry>
<entry>"JIS"</entry>
<entry>PHP_INI_ALL</entry>
</row>
</tbody>
</tgroup>
</table>
For further details and definition of the PHP_INI_* constants see
<function>ini_set</function>.
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry 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 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 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 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 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 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:"../../../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
-->