0
Follows line of code in php with example:
If you do it like this, record it with those strange characters:
INSERT INTO cliente (nome, endereco) VALUES ('ççoas sadoçççç','email');
If you do that, you record normal:
INSERT INTO cliente (nome, endereco) VALUES (utf_utf8_decode('ççoas sadoçççç'),utf8_decode('email'));
I’ve already changed the charsets and collation the basis, connection and the php and nothing.
Any suggestions?
Which
IDEdo you use? Recently I had this problem, the solution was to configure theIDEto write in the formatUTF-8.– Roberto de Campos
I use the eclipse and Notepad++ and tb already set the encoding and nothing.
– Luciano Ferretti
I found the bug, made a "fine-tooth comb" and found that I had collected $Conn->exec('SET CHARACTER SET utf-8'); and the right thing is utf8. Thank you all.
– Luciano Ferretti