MB_HTTP_OUTPUT(3) 1 MB_HTTP_OUTPUT(3)
mb_http_output - Set/Get HTTP output character encoding
SYNOPSIS
mixed mb_http_output ([string $encoding = mb_http_output()])
DESCRIPTION
Set/Get the HTTP output character encoding. Output after this function is called will be converted from the set internal encoding to
$encoding.
PARAMETERS
o $encoding
- If $encoding is set, mb_http_output(3) sets the HTTP output character encoding to $encoding. If $encoding is omitted,
mb_http_output(3) returns the current HTTP output character encoding.
RETURN VALUES
If $encoding is omitted, mb_http_output(3) returns the current HTTP output character encoding. Otherwise, Returns TRUE on success or FALSE
on failure.
SEE ALSO
mb_internal_encoding(3), mb_http_input(3), mb_detect_order(3).
PHP Documentation Group MB_HTTP_OUTPUT(3)