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
change-po-charset(1) - debian
encode::mime::header(3) - centos
encode::mime::header(3pm) - mojave
encode::mime::header(3pm) - osx
encode::mime::header(3pm) - suse
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!