Hi!

I have the following problem:

I need to work with the bulgarian language.

I properly configured the communication with MySQL server by sending
'SET NAMES UTF-8' in the begining of each request.
I am sure that the data is properly saved and properly retrieved.

The problem is that when the data must be displayed in the same form
fields for edition it is displayed incorrectly. The php command
'print_r($data)' in the controller shows that same data correctly.

I think that the problem is due to the the fact that actually this is
ajax form response and no header data could be interpeted by the
browser.

I tried

<?php  header("Content-type: text/html; charset=windows-1251"); ?>

on the top of the view, trying to inform the browser that data in this
encoding comes next...

I use the CJX snippet.

I don't have any idea what could be the problem.

Please help

Thanks in advance


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to