1
When I enter into Mysql database with PHP and PDO are entering strange and disordered characters, which may be wrong?
Here is a picture of a bank table:
My page has the parameter:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
And my bank has the following collation
:
utf8 - utf8_general_ci
What I find strange is that in my application is normal, there would be some future problem, as SELECT
of data?
The page and PDO are working on utf-8 tbm?
– rray
yes on my preview page is normal, just would like to take the doubt if this can complicate something in the future
– André Martins
This answer may help you http://answall.com/a/43205/3635
– Guilherme Nascimento
very good thanks 0/
– André Martins
One piece of information for your knowledge: the
meta tag
of the kindviewport
has no relation to the characters. The ideal for this work is the tag<meta charset="tipo">
.– Rafael Almeida