PHP 忒聊
綴豖
ヶ輛
iconv_get_encoding
(PHP 4 = 4.0.5)
Description
It returns the current settings of ob_iconv_handler() as array or FALSE on failure. The value of the optinal type can be:
all
input_encoding
output_encoding
internal_encoding
瞰赽 1. iconv_get_encoding() 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 printout of the above program will be:
Array ([input_encoding] = ISO-8859-1 [output_encoding] = ISO-8859-1 [internal_encoding] = UTF-8)
See also: iconv_set_encoding() and ob_iconv_handler().
綴豖
れ萸
ヶ輛
iconv functions
奻珨撰
iconv_set_encoding