Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice