On Sun, March 18, 2007 5:57 am, Don Don wrote:
>   my program outputs some characters along with text from the
> database, these texts contain chars like ‘ ’.  How can i get rid
> of theses chars and display their meaning instead ?  I am thinking
> htmlspecialchars or html entities will do the job will it ?

Without knowing what those chars are, or what you expect them to be,
it's hard to say...

Perhaps try setting your php.ini default charset to UTF-8 and add a
META tag in your HTML HEAD to set the charset to UTF-8.

Or, perhaps, you want to use htmlentities to get, errr, whatever it is
you want to get.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to