Closed (fixed)
Project:
Drush
Component:
Core Commands
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2010 at 14:49 UTC
Updated:
4 Jan 2011 at 05:50 UTC
The (re)created database by site-install is not created with the default character set utf8, even though Drupal works in UTF-8 all along.
I believe the following should be sufficient.
CREATE DATABASE `dbname` /*!40100 DEFAULT CHARACTER SET utf8 */;
Comments
Comment #1
moshe weitzman commentedseems like a good idea to me. what about postgres and sqlite?
Comment #2
maherg commentedFor Postgres (haven't tried it though):
As for sqlite, I suppose it works in UTF-8 by default ( according to this ).
Comment #3
moshe weitzman commentedsite-install now uses drush_sql_build_createdb_sql() which features UTF8 string and optional db_name quoting.
Comment #4
greg.1.anderson commentedThere was a typo in the pgsql code.
http://drupal.org/cvs?commit=467532