LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] puzzle of the day - php & apache & phpbb3

[ILUG] puzzle of the day - php & apache & phpbb3

David Coallier davidc at php.net
Wed Jan 28 11:10:18 GMT 2009


Ok so after analyzing the data a tiny bit.
ISO-8859-1

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.




-- 
Slan,
David



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell