[email protected] wrote:
In a controller i use ajaxContext for some actions. In these actions i need to apply utf8_decode for all text fields in POST otherwise the accented characters become like è à ì ù à in the DB.
You should fix this on the JS side. The ajax post is apparently being encoded in UTF-8. Try inspecting this with Firebug for example. Maybe your JS library is enforcing this.
Gerard
