Re: Quick encoding question:

From: Date: Mon, 24 May 2004 18:14:03 +0000
Subject: Re: Quick encoding question:
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-186832@lists.php.net to get a copy of this message
> I have a form and the people who submit are likely to include a bunch of > "¶" characters. (That's a paragraph symbol in case it doesn't come > through the list correctly.) > > However when I read it out of MySQL it comes back as "¶". What can I do > about this? Thanks! Looks like UTF-8. Make sure your output character encoding matches the database encoding, and use htmlentities() and the mb_* (multibyte string) functions where necessary. Debugging this stuff is a pain. :P --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html

« previous php.general (#186832) next »