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

search for in the

mb_regex_encoding> <mb_parse_str
Last updated: Fri, 13 Nov 2009

view this page in

mb_preferred_mime_name

(PHP 4 >= 4.0.6, PHP 5)

mb_preferred_mime_nameMIME 文字設定を文字列で得る

説明

string mb_preferred_mime_name ( string $encoding )

指定したエンコーディングの MIME charset 文字列を取得します。

パラメータ

encoding

調べるエンコーディング。

返り値

文字エンコーディング encoding 用の MIME charset 文字列を返します。

例1 mb_preferred_mime_name() の例

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



add a note add a note User Contributed Notes
mb_preferred_mime_name
There are no user contributed notes for this page.

mb_regex_encoding> <mb_parse_str
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites