Files
doc-fr/reference/mbstring/functions/mb-http-output.xml
George Peter Banyard 0b6c147357 Apply SVN revision 352028
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@352057 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-14 00:48:48 +00:00

108 lines
3.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 92f1b8b177eb5730382abf9f27bae868f1bb636f Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.mb-http-output" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>mb_http_output</refname>
<refpurpose>Lit/modifie l'encodage d'affichage</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type class="union"><type>string</type><type>bool</type></type><methodname>mb_http_output</methodname>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>encoding</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Lit/modifie l'encodage d'affichage. L'affichage après l'appel de cette fonction
sera converti depuis l'encodage interne vers l'encodage fourni par le paramètre
<parameter>encoding</parameter>.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>encoding</parameter></term>
<listitem>
<para>
Si <parameter>encoding</parameter> est fourni,
<function>mb_http_output</function> utilisera dorénavant l'encodage
<parameter>encoding</parameter> pour les affichages HTTP : les
caractères qui seront envoyés aux clients web seront convertis dans le
jeu de caractères <parameter>encoding</parameter>.
</para>
<para>
Si <parameter>encoding</parameter> est omis,
<function>mb_http_output</function> retourne l'encodage d'affichage
courant.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Si le paramètre <parameter>encoding</parameter> est omis,
<function>mb_http_output</function> retourne l'encodage courant
HTTP. Sinon, &return.success;
</para>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
&mbstring.changelog.encoding-nullable;
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mb_internal_encoding</function></member>
<member><function>mb_http_input</function></member>
<member><function>mb_detect_order</function></member>
</simplelist>
</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:"~/.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
-->