I’m using codeigniter and have some inputs fields and textareas, When I try to put a character like é, à, è in the field and submit this to my DB it will not be saved, the field stay blank
I’m using UTF8 encoding (utf8_general_ci in DB / in my header : charset=utf-8 / and in the config file of codeigniter it’s set UTF8
I don’t really understand why it doesn’t work :/ any ideas?
Thanks!
Change your tables and its fields collation to utf8_unicode_ci or utf8_genaral_ci and it should work.
Edited:
Then try doing:
Hope it helps