Re: Preventing unwanted chars from outputting

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

 



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 ‘ ’.  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

I do like Joel's style... :-)

-- 
Larry Garfield			AIM: LOLG42
larry@xxxxxxxxxxxxxxxx		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson

-- 
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