iconv_set_encoding() changes the value of the internal configuration variable specified by type to charset. Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.
The value of type can be any one of those:
input_encoding |
output_encoding |
internal_encoding |
See also iconv_get_encoding() and ob_iconv_handler().