GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Assuming that a lot of people want to run their database with utf8 I added the option to the database.php.default. It is just a comment, so you can activate if you need it.
prepared utf8 database connection option
Merge pull request #176 from martin-ueding/1.3
Added commented "encoding" => "utf8" to default db config
btw. Oracle uses 'charset' config key instead of 'encoding'.
Yeah 'encoding'=>'utf8' is given since default config specifies 'driver' => 'mysql'. If you want you can submit a patch updating the comments above the class definition and specify the key to use for oracle.
That is what I thought too, but I got stuff like d?rfen (with that diamond shaped ? char) which is clearly a UTF8 interpreted as latin1 issue. So I added the line and I finally got dürfen. So the default might not work everywhere.
This is what I use:
MySQL Server 5.1.54-1ubuntu4
Merge pull request #672 from sitedyno/cookie-encryption-#471
Add stronger encryption, and make it available in cookiecomponent.