<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<chapter xml:id="mbstring.supported-encodings">
 <title>Supported Character Encodings</title>
 <simpara>
  Currently the following character encodings are supported by the
  <literal>mbstring</literal> module. Any of those Character encodings
  can be specified in the <literal>encoding</literal> parameter of
  <literal>mbstring</literal> functions.
 </simpara>
 <para>
  The following character encodings are supported in this PHP
  extension: 
 </para>
 <itemizedlist>
  <listitem><simpara>UCS-4*</simpara></listitem>
  <listitem><simpara>UCS-4BE</simpara></listitem>
  <listitem><simpara>UCS-4LE*</simpara></listitem>
  <listitem><simpara>UCS-2</simpara></listitem>
  <listitem><simpara>UCS-2BE</simpara></listitem>
  <listitem><simpara>UCS-2LE</simpara></listitem>
  <listitem><simpara>UTF-32*</simpara></listitem>
  <listitem><simpara>UTF-32BE*</simpara></listitem>
  <listitem><simpara>UTF-32LE*</simpara></listitem>
  <listitem><simpara>UTF-16*</simpara></listitem>
  <listitem><simpara>UTF-16BE*</simpara></listitem>
  <listitem><simpara>UTF-16LE*</simpara></listitem>
  <listitem><simpara>UTF-7</simpara></listitem>
  <listitem><simpara>UTF7-IMAP</simpara></listitem>
  <listitem><simpara>UTF-8*</simpara></listitem>
  <listitem><simpara>ASCII*</simpara></listitem>
  <listitem><simpara>EUC-JP*</simpara></listitem>
  <listitem><simpara>SJIS*</simpara></listitem>
  <listitem><simpara>eucJP-win*</simpara></listitem>
  <listitem><simpara>SJIS-win*</simpara></listitem>
  <listitem><simpara>ISO-2022-JP</simpara></listitem>
  <listitem><simpara>ISO-2022-JP-MS</simpara></listitem>
  <listitem><simpara>CP932</simpara></listitem>
  <listitem><simpara>CP51932</simpara></listitem>
  <listitem><simpara>SJIS-mac (alias: MacJapanese)</simpara></listitem>
  <listitem><simpara>SJIS-Mobile#DOCOMO (alias: SJIS-DOCOMO)</simpara></listitem>
  <listitem><simpara>SJIS-Mobile#KDDI (alias: SJIS-KDDI)</simpara></listitem>
  <listitem><simpara>SJIS-Mobile#SOFTBANK (alias: SJIS-SOFTBANK)</simpara></listitem>
  <listitem><simpara>UTF-8-Mobile#DOCOMO (alias: UTF-8-DOCOMO)</simpara></listitem>
  <listitem><simpara>UTF-8-Mobile#KDDI-A</simpara></listitem>
  <listitem><simpara>UTF-8-Mobile#KDDI-B (alias: UTF-8-KDDI)</simpara></listitem>
  <listitem><simpara>UTF-8-Mobile#SOFTBANK (alias: UTF-8-SOFTBANK)</simpara></listitem>
  <listitem><simpara>ISO-2022-JP-MOBILE#KDDI (alias: ISO-2022-JP-KDDI)</simpara></listitem>
  <listitem><simpara>JIS</simpara></listitem>
  <listitem><simpara>JIS-ms</simpara></listitem>
  <listitem><simpara>CP50220</simpara></listitem>
  <listitem><simpara>CP50220raw</simpara></listitem>
  <listitem><simpara>CP50221</simpara></listitem>
  <listitem><simpara>CP50222</simpara></listitem>
  <listitem><simpara>ISO-8859-1*</simpara></listitem>
  <listitem><simpara>ISO-8859-2*</simpara></listitem>
  <listitem><simpara>ISO-8859-3*</simpara></listitem>
  <listitem><simpara>ISO-8859-4*</simpara></listitem>
  <listitem><simpara>ISO-8859-5*</simpara></listitem>
  <listitem><simpara>ISO-8859-6*</simpara></listitem>
  <listitem><simpara>ISO-8859-7*</simpara></listitem>
  <listitem><simpara>ISO-8859-8*</simpara></listitem>
  <listitem><simpara>ISO-8859-9*</simpara></listitem>
  <listitem><simpara>ISO-8859-10*</simpara></listitem>
  <listitem><simpara>ISO-8859-13*</simpara></listitem>
  <listitem><simpara>ISO-8859-14*</simpara></listitem>
  <listitem><simpara>ISO-8859-15*</simpara></listitem>
  <listitem><simpara>ISO-8859-16*</simpara></listitem>
  <listitem><simpara>byte2be</simpara></listitem>
  <listitem><simpara>byte2le</simpara></listitem>
  <listitem><simpara>byte4be</simpara></listitem>
  <listitem><simpara>byte4le</simpara></listitem>
  <listitem><simpara>BASE64</simpara></listitem>
  <listitem><simpara>HTML-ENTITIES (alias: HTML)</simpara></listitem>
  <listitem><simpara>7bit</simpara></listitem>
  <listitem><simpara>8bit</simpara></listitem>
  <listitem><simpara>EUC-CN*</simpara></listitem>
  <listitem><simpara>CP936</simpara></listitem>
  <listitem><simpara>GB18030</simpara></listitem>
  <listitem><simpara>HZ</simpara></listitem>
  <listitem><simpara>EUC-TW*</simpara></listitem>
  <listitem><simpara>CP950</simpara></listitem>
  <listitem><simpara>BIG-5*</simpara></listitem>
  <listitem><simpara>EUC-KR*</simpara></listitem>
  <listitem><simpara>UHC (alias: CP949)</simpara></listitem>
  <listitem><simpara>ISO-2022-KR</simpara></listitem>
  <listitem><simpara>Windows-1251 (alias: CP1251)</simpara></listitem>
  <listitem><simpara>Windows-1252 (alias: CP1252)</simpara></listitem>
  <listitem><simpara>CP866 (alias: IBM866)</simpara></listitem>
  <listitem><simpara>KOI8-R*</simpara></listitem>
  <listitem><simpara>KOI8-U*</simpara></listitem>
  <listitem><simpara>ArmSCII-8 (alias: ArmSCII8)</simpara></listitem>  
 </itemizedlist>
 <para>
  * denotes encodings usable also in regular expressions.
 </para>
 <para>
  Any &php.ini; entry which accepts an encoding name
  can also use the values &quot;<literal>auto</literal>&quot; and
  &quot;<literal>pass</literal>&quot;.
  <literal>mbstring</literal> functions which accept an encoding
  name can also use the value &quot;<literal>auto</literal>&quot;.
 </para>
 <para>
  If &quot;<literal>pass</literal>&quot; is set, no character
  encoding conversion is performed.
 </para>
 <para>
  If &quot;<literal>auto</literal>&quot; is set, it is expanded to
  the list of encodings defined per the <link linkend="mbstring.configuration">NLS</link>.
  For instance, if the NLS is set to <literal>Japanese</literal>,
  the value is assumed to be
  &quot;<literal>ASCII,JIS,UTF-8,EUC-JP,SJIS</literal>&quot;.
 </para>
 <para>
  See also <function>mb_detect_order</function>
 </para>
</chapter>
<!-- 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
-->
