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
iconv(3) - php
cubrid_client_encoding(3) - php
iconv_strpos(3) - php
mysqli_set_charset(3) - php
xml_parser_create_ns(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!