diff --git a/reference/iconv/functions/iconv-get-encoding.xml b/reference/iconv/functions/iconv-get-encoding.xml index ab0e49244e..7c855e87ee 100644 --- a/reference/iconv/functions/iconv-get-encoding.xml +++ b/reference/iconv/functions/iconv-get-encoding.xml @@ -1,5 +1,5 @@ - + @@ -13,9 +13,48 @@ stringtype - It returns the current settings of - ob_iconv_handler as array or - &false; in failure. + 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 + + If type is omitted or not 'all' + iconv_get_encoding returns the current settings of + ob_iconv_handler as string. + + + + <function>iconv_get_encoding</function> example: + + + + +]]> + + + The printout of the above program will be: + + ISO-8859-1 + [output_encoding] => ISO-8859-1 + [internal_encoding] => UTF-8 +) + +]]> + + + See also: diff --git a/reference/iconv/functions/iconv-set-encoding.xml b/reference/iconv/functions/iconv-set-encoding.xml index c2e586d8e9..8b9330fb5a 100644 --- a/reference/iconv/functions/iconv-set-encoding.xml +++ b/reference/iconv/functions/iconv-set-encoding.xml @@ -1,5 +1,5 @@ - + @@ -9,14 +9,21 @@ Description - arrayiconv_set_encoding + booliconv_set_encoding stringtype stringcharset It changes the value of type to - charset and returns &true; in success or - &false; in failure. + charset. &return.success; + + + The value of type can be: + + input_encoding + output_encoding + internal_encoding + diff --git a/reference/iconv/functions/iconv.xml b/reference/iconv/functions/iconv.xml index 11dbb7a633..6c7c4a4e82 100644 --- a/reference/iconv/functions/iconv.xml +++ b/reference/iconv/functions/iconv.xml @@ -1,5 +1,5 @@ - + @@ -15,7 +15,7 @@ stringstr - It converts the string string encoded in + It converts the string str encoded in in_charset to the string encoded in out_charset. It returns the converted string or &false;, if it fails. @@ -25,7 +25,7 @@ <function>iconv</function> example: