I'm designing the backend of a web with dreamweaver and MySQL. When I send a form, the content is weird (Like Áa(C)) and not show de correct charset. I put the charset utf8 in the header (in the php and html too), and tried with utf8_encode in each POST. But still don't work... anyone knows something? That characters are shown too in the MySQL (and even it's utf8). Thanks a lot.
Asked
Active
Viewed 62 times
-1
-
Also: http://kunststube.net/frontback – deceze May 18 '13 at 20:12
1 Answers
0
use
header('Content-Type: text/html; charset=utf-8');
in your php file

Manish Jangir
- 505
- 3
- 9
-
Thanks! But, it doesn't work :S this appears really weird because it works sometimes and other times not... – Adrián Pérez Ferro May 21 '13 at 10:19