nate wrote:
> in app/config/database.php, you can add this to your database
> configuration array:
> 'encoding' => 'UTF8'

Hi,

I think this configuration option was added to the 1.2 branch.

If you are using 1.1 you can put this in app/app_model.php:

class AppModel extends Model {
        function __construct() {
                parent::__construct();
                if(!defined('GLOBAL_UTF8')) {
                        $this->query('SET NAMES "utf8"');
                        define('GLOBAL_UTF8', TRUE);
                }
        }
}
(I took this from some other post)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to