Error in Chrome when decoding accents posted via HTTP POST

4

I have a form that does an HTTP POST request to update the DB. During the request I noticed that the following message appeared for a field filled with accent in the Chrome Dev Tool. For example, the evaluation is displayed as avalia%E7%E3o .

  

unable to decode value

The page and browser encoding are ISO-8859-1. PHP receives the text of the field with an accent as an HTML Numeric Entity, does not interpret correctly and writes "empty" in the Bank.

I have another server with the same settings and fonts, and this problem does not occur, that is, evaluation (for example) is saved correctly in the Bank. Why does this problem occur? What could be the cause of my other server with the same browser and fonts working?

    
asked by anonymous 19.09.2014 / 16:04

1 answer

1

Try changing the code for the page that sends the variables and the one for windows-1252. I think ISO-8859-1 does not show the unique characters

    
23.09.2014 / 10:49