Re: Preventing unwanted chars from outputting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.          |
`------------------------------------------------------------'

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux