array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.mb-http-output.php', 1 => 'mb_http_output', ), 'up' => array ( 0 => 'ref.mbstring.php', 1 => 'Fonctions sur les chaînes de caractères multioctets', ), 'prev' => array ( 0 => 'function.mb-http-input.php', 1 => 'mb_http_input', ), 'next' => array ( 0 => 'function.mb-internal-encoding.php', 1 => 'mb_internal_encoding', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/mbstring/functions/mb-http-output.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8)
mb_http_output — Lit/modifie l'encodage d'affichage
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
encoding
.
encoding
Si encoding
est fourni,
mb_http_output() utilisera dorénavant l'encodage
encoding
pour les affichages HTTP : les
caractères qui seront envoyés aux clients web seront convertis dans le
jeu de caractères encoding
.
Si encoding
est omis,
mb_http_output() retourne l'encodage d'affichage
courant.
Si le paramètre encoding
est omis,
mb_http_output() retourne l'encodage courant
HTTP. Sinon, Cette fonction retourne true
en cas de succès ou false
si une erreur survient.
Version | Description |
---|---|
8.0.0 |
encoding est désormais nullable.
|