All data from HTML form be converted to HTML entities.
E.g.
- à => à ;
- á => á ;
- € => &euro ;
…
I need to save some special characters(à á ì …) to MySQL but only save HTML entities(à, …) instead.
Currently config:
- mysql: utf8_general_ci
- database config: ‘encoding’ => ‘utrf-8’
- html page: charset utf-8
- form accept-charset=‘utf-8’
This is the post data that I got:
Please help me!