Query: iconv_get_encoding
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ICONV_GET_ENCODING(3) 1 ICONV_GET_ENCODING(3) iconv_get_encoding - Retrieve internal configuration variables of iconv extensionSYNOPSISmixed iconv_get_encoding ([string $type = "all"])DESCRIPTIONRetrieve internal configuration variables of iconv extension.PARAMETERSo $type - The value of the optional $type can be: oall oinput_encoding ooutput_encoding ointernal_encodingRETURN VALUESReturns the current value of the internal configuration variable if successful or FALSE on failure. If $type is omitted or set to "all", iconv_get_encoding(3) returns an array that stores all these variables.EXAMPLESExample #1 iconv_get_encoding(3) example <pre> <?php iconv_set_encoding("internal_encoding", "UTF-8"); iconv_set_encoding("output_encoding", "ISO-8859-1"); var_dump(iconv_get_encoding('all')); ?> </pre> The above example will output: Array ( [input_encoding] => ISO-8859-1 [output_encoding] => ISO-8859-1 [internal_encoding] => UTF-8 )SEE ALSOiconv_set_encoding(3), ob_iconv_handler(3). PHP Documentation Group ICONV_GET_ENCODING(3)
Related Man Pages |
---|
iconv_646(5) - opensolaris |
utf8_encode(3) - php |
mb_detect_order(3) - php |
mb_list_encodings(3) - php |
ob_iconv_handler(3) - php |
Similar Topics in the Unix Linux Community |
---|
Copy file and evaluate its internal variables |
Create .nfo file in ISO-8859-1 or UTF-8 |