The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

UTF-8 is not working

Discussion in 'General Discussion' started by Marcello Henrique, Jun 17, 2015.

  1. Marcello Henrique

    Joined:
    May 29, 2015
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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';
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page