php man page for mailparse_determine_best_xfer_encoding

Query: mailparse_determine_best_xfer_encoding

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MAILPARSE_DETERMINE_BEST_XFER_ENCODING(3)				 1				 MAILPARSE_DETERMINE_BEST_XFER_ENCODING(3)

mailparse_determine_best_xfer_encoding - Gets the best way of encoding

SYNOPSIS
string mailparse_determine_best_xfer_encoding (resource $fp)
DESCRIPTION
Figures out the best way of encoding the content read from the given file pointer.
PARAMETERS
o $fp - A valid file pointer, which must be seek-able.
RETURN VALUES
Returns one of the character encodings supported by the mbstring module.
EXAMPLES
Example #1 mailparse_determine_best_xfer_encoding(3) example <?php $fp = fopen('somemail.eml', 'r'); echo 'Best encoding: ' . mailparse_determine_best_xfer_encoding($fp); ?> The above example will output something similar to: Best encoding: 7bit PHP Documentation Group MAILPARSE_DETERMINE_BEST_XFER_ENCODING(3)
Related Man Pages
mb_strtolower(3) - php
mb_detect_encoding(3) - php
mb_detect_order(3) - php
pg_set_client_encoding(3) - php
px_set_targetencoding(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
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 Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch