iconv_set_encoding(3) php man page | unix.com

Man Page: iconv_set_encoding

Operating Environment: php

Section: 3

ICONV_SET_ENCODING(3)							 1						     ICONV_SET_ENCODING(3)

iconv_set_encoding - Set current setting for character encoding conversion

SYNOPSIS
bool iconv_set_encoding (string $type, string $charset)
DESCRIPTION
Changes the value of the internal configuration variable specified by $type to $charset.
PARAMETERS
o $type - The value of $type can be any one of these: oinput_encoding ooutput_encoding ointernal_encoding o $charset - The character set.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 iconv_set_encoding(3) example <?php iconv_set_encoding("internal_encoding", "UTF-8"); iconv_set_encoding("output_encoding", "ISO-8859-1"); ?>
SEE ALSO
iconv_get_encoding(3), ob_iconv_handler(3). PHP Documentation Group ICONV_SET_ENCODING(3)
Related Man Pages
mb_internal_encoding(3) - php
iconv_strpos(3) - php
iconv_strrpos(3) - php
iconv_substr(3) - php
ob_iconv_handler(3) - php
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
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!