May 29, 2015
12
0
1
Manaus/AM - BRAZIL
cPanel Access Level
Website Owner
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 codeigniter
PHP:
$this->input->post('example')
, returns an empty string

how can i fix it?

ps: my framework config file it's correct
$config['charset'] = 'UTF-8';
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Could you provide us with some additional instructions on how to reproduce the issue? For instance, what's a full example code we can run, and what version of PHP is installed on your system?

Thank you.