SommaireTelecharger la documentationChapitre suivantChapitre precedent  

  .: News :.: Edito :.: Scripts :.: Forum :.: Erreurs :.: Jobs :. 
 
Sommaire

Chaînes de caractères multi-octets

Introduction
mb_language
mb_parse_str
mb_internal_encoding
mb_http_input
mb_http_output
mb_detect_order
mb_substitute_character
mb_output_handler
mb_preferred_mime_name
mb_strlen
mb_strpos
mb_strrpos
mb_substr
mb_strcut
mb_strwidth
mb_strimwidth
mb_convert_encoding
mb_detect_encoding
mb_convert_kana
mb_encode_mimeheader
mb_decode_mimeheader
mb_convert_variables
mb_encode_numericentity
mb_decode_numericentity
mb_send_mail

6.51.10 mb_preferred_mime_name

[ Exemples avec mb_preferred_mime_name ]   PHP 4 >= 4.0.6

Description

string mb_preferred_mime_name(string encoding )

mb_preferred_mime_name retourne le type d'encodage MIME utilisé dans le mail encoding. Le nom de l'encodage est retourné sous forme de chaîne.

Exemple avec mb_preferred_mime_string

<?php
$outputenc 
"sjis-win";
mb_http_output($outputenc);
ob_start("mb_output_handler");
Header("Content-Type: text/html; charset=" mb_preferred_mime_name($outputenc));
?>


Chapitre précédentChapitre suivantAccueil nexen.net