[ILUG] puzzle of the day - php & apache & phpbb3
kae at verens.com
Wed Jan 28 12:31:06 GMT 2009
John P. Looney wrote:
> On Wed, Jan 28, 2009 at 11:10 AM, David Coallier <davidc at php.net> wrote:
>> - 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
> Remember the problem happens for previews too, where the text doesn't make
> it into the database. Though, it could be messed with by some functions
> checking the code for database-cleanliness.
you say it is specifically things which are copy/pasted
is this possibly a problem with the paste function of whatever desktop you're using?
if you create a test page where you simply echo an md5 or a hex dump of a pasted "hello world" pushed through a form to
the server, is the result the same as if you typed it by hand?
More information about the ILUG