I have an php script which calls another web page and writes all the html of the page and everything goes ok however there is a charset problem. My php file encoding is utf-
Simple: When you use curl it encodes the string to utf-8 you just need to decode them..
utf-8
Description string utf8_decode ( string $data )
This function decodes data , assumed to be UTF-8 encoded, to ISO-8859-1.
UTF-8
ISO-8859-1