downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mb_internal_encoding> <mb_http_input
Last updated: Fri, 14 Aug 2009

view this page in

mb_http_output

(PHP 4 >= 4.0.6, PHP 5)

mb_http_outputLit/modifie l'encodage d'affichage

Description

mixed mb_http_output ([ string $encoding ] )

Lit/modifie l'encodage d'affichage. La sortie de cette fonction sera convertie dans l'encodage spécifié par le paramètre encoding .

Liste de paramètres

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.

Valeurs de retour

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, FALSE en cas d'échec.

Voir aussi



add a note add a note User Contributed Notes
mb_http_output
anders jenbo pc dk
03-Oct-2007 10:23
By default this is set to 'pass' witch means that php will not touch the encoding and output it as it is in the source file.

Normaly this function isn't needed as long as you save the .php file in the same encoding as you want it to output as well as retrive all input in the same encoding, but it don't seam to herd as long as it able to figure out what encoding the output is in ín the first place.

mb_internal_encoding> <mb_http_input
Last updated: Fri, 14 Aug 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites