I've solved the problem by doing this,
$d->setDescription(stripslashes(utf8_decode(addslashes(htmlentities($description[$i], ENT_QUOTES, 'UTF-8')))));
--- On Mon, 17/8/09, Shiva Kumar Mallikarjun <shivakumar_rnm@...> wrote:
From: Shiva Kumar Mallikarjun <shivakumar_rnm@...>
Subject: I have problem in displaying special characters 6 char's (œ, Œ , … , etc ) in textarea on webpage
Date: Monday, 17 August, 2009, 8:27 AM
i have problem in displaying special characters(œ, Œ , … , etc ) in
textarea in a page which are turned into ? mark instead of special
My html page is in utf-8 and also DB column collation is utf8 ... if i
go directly to DB and enter these special char they shown good in DB
but not in my textarea (shown some funny char's instead of œ, Œ , …)
I used $str = str_replace("œ","œ",$description[$i]); ...but its not at all detecting œ special char....it just turns into ? mark .
what action i've to take before entering these special into DB and displaying in the textarea.
Love Cricket? Check out live scores, photos, video highlights and more. Click here.
Looking for local information? Find it on Yahoo! Local http://in.local.yahoo.com/
[Non-text portions of this message have been removed]