Re: MySQL Standard Character CakePHP problem
hi RosSoft, I'm having problems with utf-8 and apache, which editor do you use and which setting have you applied? for views I must have the file saved with uft-8 + BOM but for files I must have set in ANSI otherwise things doesn't work. I should use everything (including apache) in utf-8 since I use ajax responses that I believe are in utf-8, but this thing is letting me down. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP 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 -~--~~~~--~~--~--~---
Re: MySQL Standard Character CakePHP problem
On 4/24/06, saavedrajj [EMAIL PROTECTED] wrote: thanks for the help Gustavo. Quite welcome, did it work ? -- If you know Red Hat you know Red Hat, If you know Slackware you know Linux --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP 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 -~--~~~~--~~--~--~---
Re: MySQL Standard Character CakePHP problem
works fine :) thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP 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 -~--~~~~--~~--~--~---
Re: MySQL Standard Character CakePHP problem
oops, it seems that this works: class AppModel extends Model { function __construct() { parent::__construct(); $this-execute(SET NAMES 'UTF8');} } somebody can explain this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP 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 -~--~~~~--~~--~--~---
Re: MySQL Standard Character CakePHP problem
Well... in my cake app, it seems that works fine (view, edit, add methods) but if I browse my database with some MySQL GUI shows me áá instead of áá Is that right? or I'm wrong thinking that this data has to be saved as áá? I'm thinking again that the best way to control this is on the database.php file... I wish that the bentryster ticket at http://groups.google.com/group/cake-php/browse_thread/thread/902d931ff87eb8ac/9dd1bc2134c4f70a?lnk=raot#9dd1bc2134c4f70a would be heard.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP 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 -~--~~~~--~~--~--~---
Re: MySQL Standard Character CakePHP problem
Hey there, I'm portuguese too, so I know what you are going throu... What I usually do is this: - Set cake on iso-8859-1. - Do not edit any file with utf-8 sig and use the special chars as-is. - Let MySQL in latin1. This shows me everything ok, either on the sites and on the database. -- If you know Red Hat you know Red Hat, If you know Slackware you know Linux --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP 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 -~--~~~~--~~--~--~---