[ILUG] puzzle of the day - php & apache & phpbb3
davidc at php.net
Wed Jan 28 11:10:18 GMT 2009
Ok so after analyzing the data a tiny bit.
So here what "could" be happening:
- phpbb doesn't transcode the data correctly (From ISO-8859-1 to UTF-8).
- Your data could end up in the database and on the query to retrieve
it, it's either badly decoded, or escape and decoded into utf8, which
can cause problems
What I would do if I were you now is check the database and see the
output of that comment in phpmyadmin. Look at the charset of the
database and then the problem may very well be there.
If the data is encoded as UTF-8 in the database correctly then make
sure that even though the <meta> tags are set as utf-8 that the
content encoding is actually utf-8 (use : header("Content-Encoding:
UTF-8");) and then phpbb **should** take care of the rest.
If the data is fine (in the database), and your content is actually
valid utf-8 then I'm puzzled.
More information about the ILUG