Re: UTF-8, MySQL (MariaDB) and the head-shaped dent in my desk

From: Date: Thu, 13 Feb 2014 11:19:36 +0000
Subject: Re: UTF-8, MySQL (MariaDB) and the head-shaped dent in my desk
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-322851@lists.php.net to get a copy of this message
On 13 Feb 2014, at 1:19, Ian Evans wrote: How can I check if the browser is submitting the form as UTF-8? I guess I can see if Firefox's HTTP Live Headers will show any info. Looking at the adminer source the <form> tags don't have the accept-charset="UTF-8" that my own forms have, but considering that adminer _only_ supports UTF-8 (and I appear to be the edge case) I don't know if that would be the issue.
My guess is the browser is sending the data in some encoding (not UTF-8) that the server is trying to guess at and convert it to UTF-8. It's probably guessing poorly. Or I'm completely wrong. Just throwing out ideas here 3AM local time ;) --jk

« previous php.general (#322851) next »