mb_preferred_mime_name(3) php man page | unix.com

Man Page: mb_preferred_mime_name

Operating Environment: php

Section: 3

MB_PREFERRED_MIME_NAME(3)						 1						 MB_PREFERRED_MIME_NAME(3)

mb_preferred_mime_name - Get MIME charset string

SYNOPSIS
string mb_preferred_mime_name (string $encoding)
DESCRIPTION
Get a MIME charset string for a specific encoding.
PARAMETERS
o $encoding - The encoding being checked.
RETURN VALUES
The MIME charset string for character encoding $encoding.
EXAMPLES
Example #1 mb_preferred_mime_name(3) example <?php $outputenc = "sjis-win"; mb_http_output($outputenc); ob_start("mb_output_handler"); header("Content-Type: text/html; charset=" . mb_preferred_mime_name($outputenc)); ?> PHP Documentation Group MB_PREFERRED_MIME_NAME(3)
Related Man Pages
mb_convert_encoding(3) - php
encode::mime::header(3pm) - mojave
encode::mime::header(3pm) - osx
encode::mime::header(3pm) - debian
encode::mime::header(3pm) - suse
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!