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_http_output
(PHP 4 >= 4.0.6, PHP 5)
mb_http_output — HTTP 出力文字エンコーディングを設定あるいは取得する
説明
HTTP 出力文字エンコーディングを設定あるいは取得します。 この関数を実行した後、 出力は encoding に変換されます。
パラメータ
- encoding
-
encoding が設定された場合、 mb_http_output() は HTTP 出力文字エンコーディングを encoding に設定します。
encoding が省略された場合、 mb_http_output() は現在の HTTP 出力文字エンコーディングを返します。
返り値
encoding が省略された場合、 mb_http_output() は現在の HTTP 出力文字エンコーディングを返します。それ以外の場合、 成功した場合に TRUE を、失敗した場合に FALSE を返します。
mb_http_output
anders jenbo pc dk
03-Oct-2007 01:23
03-Oct-2007 01:23
