iconv_set_encoding
iconv_set_encoding
Set current setting for character encoding conversion
bool **iconv_set_encoding** string $type string $encoding
Changes the value of the internal configuration variable specified by
to .
type``encoding
type
The value of can be any one of these:
`type`
encodingThe character set.
return.success
Voorbeeld: example
<?php
iconv_set_encoding("internal_encoding", "UTF-8");
iconv_set_encoding("output_encoding", "ISO-8859-1");
?>
iconv_get_encoding``ob_iconv_handler