Re: Character encoding
| From: | Ralph Deffke | Date: | Wed, 05 Aug 2009 16:11:44 +0000 |
| Subject: | Re: Character encoding | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296334@lists.php.net to get a copy of this message | ||
I assume that the comments are collected by a browser form provided by you !
do u use the form attribute "accept-charset" ? I always do and I always use
UTF-8 homogeniously throughout my application I never had that problem.
"Sándor Tamás (HostWare Kft . )" <sandortamas@hostware.hu> wrote in message
news:9AC01674E03A4D76A1B49DAD39B04E31@STGEPE...
Hi,
I have a mysql database, which the users can insert comments. As the users
can be from different countries, with different character encoding, the
mysql table can contain various special characters.
How can I be sure to display these comments properly? I've found the
mb_convert_encoding, and for some characters it works okay, but there are
some really special characters which displayed as a '?'.
Does anybody know some workarounds?
Thanks,
SanTa