Welcome Guest, Not a member yet? Register   Sign In
UTF-8 is not working
#1

Hi!

i'm having some issues with utf8 encoding in my form.

at my localhost, when i send the data(using accents: áéíóú etc) to controller, everything works fine.
at server, when i get the data using $this->input->post('example'), codeigniter gets an empty string.

how can i fix it?

ps: i think my config file it's correct
$config['charset'] = 'UTF-8';
Reply
#2

Is database set to utf-8? Is page meta charset set to utf-8? <meta charset="utf-8">
Reply
#3

(06-12-2015, 12:11 PM)CroNiX Wrote: Is database set to utf-8? Is page meta charset set to utf-8? <meta charset="utf-8">

the problem isnt in database, because the issue happens when sending data from the view to controller.

my page is set to UTF-8.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB