PHP iconv Functions
EditRocket provides the following information on iconv functions in the PHP source code builder.
string iconv ( string $in_charset , string $out_charset , string $str ) - Performs a character set conversion on the string str from in_charset to out_charset.
mixed iconv_get_encoding ([ string $type ] ) - Retrieve internal configuration variables of iconv extension.
string iconv_mime_decode ( string $encoded_header [, int $mode [, string $charset ]] ) - Decodes a MIME header field.
array iconv_mime_decode_headers ( string $encoded_headers [, int $mode [, string $charset ]] ) - Returns an associative array that holds a whole set of MIME header fields specified by encoded_headers on success, or FALSE if an error occurs during the decoding.
string iconv_mime_encode ( string $field_name , string $field_value [, array $preferences ] ) - Composes and returns a string that represents a valid MIME header field.
bool iconv_set_encoding ( string $type , string $charset ) - Changes the value of the internal configuration variable specified by type to charset.
int iconv_strlen ( string $str [, string $charset ] ) -
int iconv_strpos ( string $haystack , string $needle [, int $offset [, string $charset ]] ) - Finds position of first occurrence of a needle within a haystack.
int iconv_strrpos ( string $haystack , string $needle [, string $charset ] ) -
string iconv_substr ( string $str , int $offset [, int $length [, string $charset ]] ) - Cuts a portion of str specified by the offset and length parameters.
string ob_iconv_handler ( string $contents , int $status ) - Converts the string encoded in internal_encoding to output_encoding.