php - Force a form to send in UTF8 to my MySQL -
this question has answer here:
- utf-8 way through 14 answers
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
Post a Comment