Rapide Advanced Adulte
   mb_internal_encoding   
Resultatsmb_internal_encoding   |   Contact

     Manuel PHP     
Partager
 
 
Partager
Partager

 

Table :

.mb check encoding
.mb convert case
.mb convert encoding
.mb convert kana
.mb convert variables
.mb decode mimeheader
.mb decode numericentity
.mb detect encoding
.mb detect order
.mb encode mimeheader
.mb encode numericentity
.mb ereg match
.mb ereg replace
.mb ereg search getpos
.mb ereg search getregs
.mb ereg search init
.mb ereg search pos
.mb ereg search regs
.mb ereg search setpos
.mb ereg search
.mb ereg
.mb eregi replace
.mb eregi
.mb get info
.mb http input
.mb http output
.mb internal encoding
.mb language
.mb list encodings alias names
.mb list encodings
.mb list mime names
.mb output handler
.mb parse str
.mb preferred mime name
.mb regex encoding
.mb regex set options
.mb send mail
.mb split
.mb strcut
.mb strimwidth
.mb stripos
.mb stristr
.mb strlen
.mb strpos
.mb strrchr
.mb strrichr
.mb strripos
.mb strrpos
.mb strstr
.mb strtolower
.mb strtoupper
.mb strwidth
.mb substitute character
.mb substr count
.mb substr
 
   

  mb_internal_encoding  


mb_internal_encoding

(PHP 4 >= 4.0.6, PHP 5)

mb_internal_encoding --  Lit/modifie l'encodage interne

Description

mixed mb_internal_encoding ( [string encoding] )

mb_internal_encoding() modifie l'encodage interne courant en le remplacant par encoding. Si ce paramètre est omis, l'encodage interne courant est retourné.

encoding 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.

encoding: Nom d'encodage.

Valeur retournée : si encoding est fourni, mb_internal_encoding() retourne TRUE en cas de succès, et FALSE sinon. Si encoding est omis, mb_internal_encoding() retourne le nom de l'encodage courant.

Exemple 1. Exemple avec mb_internal_encoding()

<?php
/* Utilise l'encodage interne UTF-8 */
mb_internal_encoding("UTF-8");

/* Affiche l'encodage interne courant */
echo mb_internal_encoding();
?>

Voir aussi mb_http_input(), mb_http_output() et mb_detect_order()


    Annonces       
 

 Retour au chapitre Php

 

Top
 

Ajouter JungleKey.fr à votre Explorateur

 
 

About Us | © 2007 JungleKey




iBlack | Mobile | Wiki | Ajouter ce moteur