Hi,

I have a test page made with cake 1.2 RC1 and everything is fine
despite the lack of documentation on the matter. I have however a
little problem on my production site that doesn't happen on local. The
problem is with encoding. Everything looks fine until i fire an event
calling Ajax and returning a result refreshing a DIV. At that point,
the DIV gets a bad encoding. Why is that?

You can see the result at http://www.webrickco.com/caketest.
User/password: david/test
First option: "Alterar a configuraĆ§Ć£o dos menus"
Then just click on a Tick to see how the list will be messed up.

Some more data:
Default.ctp: $html->charset('ISO-8859-1');

Database codepage: utf8_general_ci

Ajax call:
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>";

Thanks in advance. Your help is much appreciated.
David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to