Page 1 of 1

CHARACTOR ENCODING ISSSUE

Posted: Fri Apr 08, 2011 6:38 am
by waliurrehman
Hellow friends.
I am having a problem with charactor incoding..

I have using Curl to get contetnens from the site but after when i am shwoing data on site it shwoing wrong charactor can some one help me to resolve this..
I already set my page charact-type to UTF-8 but but stil the problem is same ..


Here is my website pleae mouse over to calander to see charactor issue..
http://www.mckenziewagnerbooks.com/kidzcorner.php

Here is what function i am using for curl...

Code: Select all

function get_url_contents($url){
        $crl = curl_init();
        $timeout = 5;
        curl_setopt ($crl, CURLOPT_URL,$url);
     	curl_setopt ($crl, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt ($crl, CURLOPT_CONNECTTIMEOUT, $timeout);
		

        $ret = curl_exec($crl);
        curl_close($crl);
        return $ret;
		
}
waiting for reply..
thanks