The input charset.
The output charset.
If you append the string
out_charset transliteration is activated. This
means that when a character can't be represented in the target charset,
it can be approximated through one or several similarly looking
characters. If you append the string
characters that cannot be represented in the target charset are silently
discarded. Otherwise, str is cut from the first
The string to be converted.
echo iconv("ISO-8859-1", "UTF-8", "This is a test.");