i am facing some weird problem. I have following string stored in my mysql table :
The horses had been brought in from the hills and were tethered next to a pile of drying dung. All around were snowcapped peaks and on one side lay a shimmering lake of glacial blue water. The Kyrgyz men were deciding who would ride which horse. Kanybek looked at me, the only man left in our riding party, which had somehow slimmed down from 10 to three at the sight of the stallions. I'd heard about Kanybek, the best ulak player in the area (that’s polo played with a dead headless goat, the same as the Afghan bushkazi).
Kanybek was a man who could pluck a 10 som note from the ground at a full gallop, a man who could mount a steed with a back somersault. He had been born in the shadow of a horse, ridden before he could walk and drunk mare’s milk ever since. I had serious doubts whether Kanybek could begin to comprehend how crap I was at riding horses.
“This one is for you,” he said, his weathered face splitting into a champion grin. “It is the fastest.”
when i am retrieving it from db to php it starts showing � instead ’. Following what i can see after retrieving it in php.
The horses had been brought in from the hills and were tethered next to a pile of drying dung. All around were snowcapped peaks and on one side lay a shimmering lake of glacial blue water. The Kyrgyz men were deciding who would ride which horse. Kanybek looked at me, the only man left in our riding party, which had somehow slimmed down from 10 to three at the sight of the stallions. I'd heard about Kanybek, the best ulak player in the area (that�s polo played with a dead headless goat, the same as the Afghan bushkazi).
Kanybek was a man who could pluck a 10 som note from the ground at a full gallop, a man who could mount a steed with a back somersault. He had been born in the shadow of a horse, ridden before he could walk and drunk mare�s milk ever since. I had serious doubts whether Kanybek could begin to comprehend how crap I was at riding horses.
�This one is for you,� he said, his weathered face splitting into a champion grin. �It is the fastest.�
i have tried many php functions with many combination but at last i didn't get anything.
mb_convert_encoding(), iconv('UTF-8', 'ISO-8859-1//TRANSLIT', $description), htmlentities etc..
these all are returning empty string.
i have set
<meta charset="utf-8">
i am using PDO to retrieve data and my database collections is utf-8.
Basically i am reading third party rss feed and via cron i am storing them in to my database.
Would appreciate your help.