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
mb_internal_encoding(3) - php
iconv_mime_encode(3) - php
courriel::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 Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team