Re: UTF-8, MySQL (MariaDB) and the head-shaped dent in my desk
| From: | Aziz Saleh | Date: | Thu, 13 Feb 2014 14:55:06 +0000 |
| Subject: | Re: UTF-8, MySQL (MariaDB) and the head-shaped dent in my desk | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322855@lists.php.net to get a copy of this message | ||
adminer-4.0.3.php files seem to be ANSI encoded not utf8. Try utf8 encoding
it before usage:
http://stackoverflow.com/a/64889/1935500
Aziz
On Thu, Feb 13, 2014 at 6:19 AM, Joshua Kehn <josh@kehn.us> wrote:
> 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
>
>