CHARACTOR ENCODING ISSSUE

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
waliurrehman
Forum Newbie
Posts: 1
Joined: Fri Apr 08, 2011 6:32 am

CHARACTOR ENCODING ISSSUE

Post 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
Post Reply