Hi all,
I upgrade to the latest release candidate but that didn't fix it so I
decided to trace the code for requestAction(). Anway, that led me to
View::_render() and what I did to correct my problem was to put
header('Content-Type: text/html;
charset='.Configure::read('App.encoding'));
after the ob_start();
I'm not sure why this works but it solves the problem for me. Does
anyone else know if there is better method than hacking the core
files?
Steven
On Aug 18, 12:06 pm, Steven Chan <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm having some problems with requestAction(). I set the 'return' flag
> my utf-8 strings return from the action all corrupted. But if I call
> the action via Ajax or through a browser http request, it's ok.
>
> Does anyone know of a fix? I'm using cake 1.2 but it's not the latest
> release candidate.
>
> Steven
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---