Re: [PHP] Preventing unwanted chars from outputting

2007-03-19 Thread Richard Lynch
On Sun, March 18, 2007 2:55 pm, Larry Garfield wrote: >> I found the following to be quite informative: >> >> http://www.joelonsoftware.com/articles/Unicode.html > > I do like Joel's style... :-) His style is fine, though his factually incorrect rant about PHP some years ago was annoying... -

Re: [PHP] Preventing unwanted chars from outputting

2007-03-19 Thread Richard Lynch
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

Re: [PHP] Preventing unwanted chars from outputting

2007-03-18 Thread Larry Garfield
On Sunday 18 March 2007 2:17 pm, Robert Cummings wrote: > On Sun, 2007-03-18 at 13:58 -0500, Larry Garfield wrote: > > On Sunday 18 March 2007 5:57 am, Don Don wrote: > > > Hi all, > > > my program outputs some characters along with text from the database, > > > these texts contain chars like ‘

Re: [PHP] Preventing unwanted chars from outputting

2007-03-18 Thread Robert Cummings
On Sun, 2007-03-18 at 13:58 -0500, Larry Garfield wrote: > On Sunday 18 March 2007 5:57 am, Don Don wrote: > > Hi all, > > 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 mea

Re: [PHP] Preventing unwanted chars from outputting

2007-03-18 Thread Larry Garfield
On Sunday 18 March 2007 5:57 am, Don Don wrote: > Hi all, > 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 w

[PHP] Preventing unwanted chars from outputting

2007-03-18 Thread Don Don
Hi all, 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 ? Cheers -