php - Force a form to send in UTF8 to my MySQL -


this question has answer here:

i'm designing backend of web dreamweaver , mysql. when send form, content weird (like Áa(c)) , not show de correct charset. put charset utf8 in header (in php , html too), , tried utf8_encode in each post. still don't work... knows something? characters shown in mysql (and it's utf8). lot.

use

header('content-type: text/html; charset=utf-8');  

in php file


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -