Hi, I have a problem figuring out why the result of an Ajax execution is not in the correct encoding under cake.
You can see the result at http://webrickco.com/caketest. Using the user/password david/test and clicking on the first link: "Alterar a configuração dos menus". At this point the result of the consultation to the database is correctly displayed as well as all other accentuated text in the page, but if I click on a tick button (calls an Ajax function to copy the values to the edit fields and refreshes the item list), the refresh of the DIV is compromised. How do i do to keep the correct encoding after I fire an Ajax function? Some data on the site: Default.ctp: $html->charset('ISO-8859-1'); Ajax function triggered as follow: echo "<td>".$ajax->submit('tick.png', array('update' => 'tabela', 'loaded' => Effect.BlindDown(\'tabela\')', 'url' => '/menus/update/'. $menu['Menu']['id']."/".$menu['Menu']['description']."/".$menu['Menu'] ['link']))."</td>"; Database fields and tables are kept in utf8_general_ci encoding by default Thx for your help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
