mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-29 12:22:19 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@162453 c90b9560-bf6c-de11-be94-00142212c4b1
84 lines
2.4 KiB
XML
84 lines
2.4 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.8 $ -->
|
|
<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
<refentry id="function.mb-internal-encoding">
|
|
<refnamediv>
|
|
<refname>mb_internal_encoding</refname>
|
|
<refpurpose>
|
|
Lit/modifie l'encodage interne
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>mixed</type><methodname>mb_internal_encoding</methodname>
|
|
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>mb_internal_encoding</function> modifie l'encodage interne
|
|
courant en le remplacant par <parameter>encoding</parameter>. Si ce
|
|
paramètre est omis, l'encodage interne courant est retourné.
|
|
</para>
|
|
<para>
|
|
<parameter>encoding</parameter> sert lors des conversions des
|
|
chaînes en provenance et en direction du web, ainsi que lors de
|
|
la création de chaînes avec le module mbstring.
|
|
</para>
|
|
<para>
|
|
<parameter>encoding</parameter>: Nom d'encodage.
|
|
</para>
|
|
<para>
|
|
Valeur retournée : si <parameter>encoding</parameter> est fourni,
|
|
<function>mb_internal_encoding</function> retourne
|
|
&true; en cas de succès, et
|
|
&false; sinon. Si <parameter>encoding</parameter>
|
|
est omis, <function>mb_internal_encoding</function> retourne le
|
|
nom de l'encodage courant.
|
|
</para>
|
|
<para>
|
|
<example>
|
|
<title>Exemple avec <function>mb_internal_encoding</function></title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?php
|
|
/* Utilise l'encodage interne UTF-8 */
|
|
mb_internal_encoding("UTF-8");
|
|
|
|
/* Affiche l'encodage interne courant */
|
|
echo mb_internal_encoding();
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
</para>
|
|
<para>
|
|
Voir aussi
|
|
<function>mb_http_input</function>,
|
|
<function>mb_http_output</function> et
|
|
<function>mb_detect_order</function>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- 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
|
|
-->
|