Browse files

prepared utf8 database connection option

  • Loading branch information...
1 parent 392102b commit 00a77b41f5d8fc5de6c1a72ca20df9db78c13a47 @martin-ueding martin-ueding committed Aug 13, 2011
Showing with 4 additions and 0 deletions.
  1. +2 −0 app/config/database.php.default
  2. +2 −0 cake/console/templates/skel/config/database.php.default
View
2 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',
);
}
View
2 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',
);
}

0 comments on commit 00a77b4

Please sign in to comment.