Re: Re: PDO don't know which is mysql server charset?

From: Date: Fri, 21 May 2010 08:47:34 +0000
Subject: Re: Re: PDO don't know which is mysql server charset?
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-305380@lists.php.net to get a copy of this message
Peter Lind wrote:
The problem here is that PHP still does not know how to handle UTF8
properly
It's not*just* that PHP isn't handling utf8 perfectly. Encoding between database and server is a rather complex issue, you're dealing with: * database encoding * database connection encoding * php internal encoding * output encoding Messing up just *one* of these will give bad output - so you need to make sure that all of them are aligned.
And not simply assume that because everything is SET to UTF8 - that is actually what is being handled :( The holes in the process such as with MySQL/PDO need to be well documented, which is what tikiwiki are working through now, but should be in the PHP documentation? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php

« previous php.general (#305380) next »