From 00a77b41f5d8fc5de6c1a72ca20df9db78c13a47 Mon Sep 17 00:00:00 2001 From: Martin Ueding Date: Sat, 13 Aug 2011 17:10:29 +0200 Subject: [PATCH] prepared utf8 database connection option --- app/config/database.php.default | 2 ++ cake/console/templates/skel/config/database.php.default | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/config/database.php.default b/app/config/database.php.default index 8711da01e..ae6b2fb72 100644 --- a/app/config/database.php.default +++ b/app/config/database.php.default @@ -81,6 +81,7 @@ class DATABASE_CONFIG { 'password' => 'password', 'database' => 'database_name', 'prefix' => '', + //'encoding' => 'utf8', ); var $test = array( @@ -91,5 +92,6 @@ class DATABASE_CONFIG { 'password' => 'password', 'database' => 'test_database_name', 'prefix' => '', + //'encoding' => 'utf8', ); } diff --git a/cake/console/templates/skel/config/database.php.default b/cake/console/templates/skel/config/database.php.default index 8711da01e..ae6b2fb72 100644 --- a/cake/console/templates/skel/config/database.php.default +++ b/cake/console/templates/skel/config/database.php.default @@ -81,6 +81,7 @@ class DATABASE_CONFIG { 'password' => 'password', 'database' => 'database_name', 'prefix' => '', + //'encoding' => 'utf8', ); var $test = array( @@ -91,5 +92,6 @@ class DATABASE_CONFIG { 'password' => 'password', 'database' => 'test_database_name', 'prefix' => '', + //'encoding' => 'utf8', ); }