You may need to add the parameters to the constructor like

function __construct($id = false, $table = null, $ds = null) {
        $this->execute("SET NAMES 'utf8'");
        parent::__construct($id, $table, $ds);

Also note that enconding support is already there in 1.2, so you can
just go ahead and modify the core and add  the line $this->execute("SET
NAMES 'utf8'") in dbo_mysql.php. Then when you upgrade to 1.2 you will
just need to add the encoding to the database configuration.


--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to