Welcome Guest, Not a member yet? Register   Sign In
$_POST empty if there is accent in text
#1

Hi everyone I'm trying to create a bee that accepts a json in post and I realized that if the word "CoupÈ" in the json text is present, the variable $_POST is empty. I'm using codeigniter but I do not think that's the reason. In the codeigniter configuration I see that $config['charset'] = 'UTF-8' is set;
The json I'm trying to receive is this:

Code:
{
   "modelli": [
       {
         "numero": 0,
         "modello": “popoloso”
       },
       {
         "numero": 1,
         "modello": “ooooooo”
       },
       {
         "numero": 3,
         "modello": "CoupÈ"
       }
   ],
   "oraInizio": "21:00",
   "durataProve": 5
}



Any suggestion is useful. thank you so much

Giuseppe
Reply


Messages In This Thread
$_POST empty if there is accent in text - by girub - 05-06-2017, 01:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB