CURL import character encoding problem

Like Jon Skeet pointed it’s difficult to understand your situation, however if you have access only to final text, you can try to use iconv for changing text encoding.

I.e.

$text = iconv("Windows-1252","UTF-8",$text);

I’ve had similar issue time ago (with Italian language and special chars) and I’ve solved it in this way.

Try different combination (UTF-8, ISO-8859-1, Windows-1252).

Leave a Comment