Re: Preventing unwanted chars from outputting
| From: | Robert Cummings | Date: | Sun, 18 Mar 2007 19:17:36 +0000 |
| Subject: | Re: Preventing unwanted chars from outputting | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250788@lists.php.net to get a copy of this message | ||
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 meaning instead ? I am thinking htmlspecialchars or html
> > entities will do the job will it ?
> >
> >
> > Cheers
>
> It sounds like you're running into character encoding issues. They suck. :-)
> See here for details:
>
> http://www.garfieldtech.com/blog/stupid-quotes
> http://www.garfieldtech.com/blog/more-on-stupid-quotes
> http://www.garfieldtech.com/blog/unicode-8-vs-16
I found the following to be quite informative:
http://www.joelonsoftware.com/articles/Unicode.html
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'