From 5e797fbb171103ef5442662281a9f89e61e54ffe Mon Sep 17 00:00:00 2001 From: David M Date: Sun, 18 Mar 2007 12:05:51 +0000 Subject: [PATCH] better sorting is more important ;) git-svn-id: file:///svn/phpbb/trunk@7206 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/develop/create_schema_files.php | 2 +- phpBB/install/database_update.php | 2 +- phpBB/install/schemas/mysql_41_schema.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php index 487bd792d0..f9a6af97ee 100644 --- a/phpBB/develop/create_schema_files.php +++ b/phpBB/develop/create_schema_files.php @@ -387,7 +387,7 @@ foreach ($supported_dbms as $dbms) } else if ($dbms === 'mysql_41' && $column_data[2] == 'true_sort') { - $line .= ' COLLATE utf8_general_ci'; + $line .= ' COLLATE utf8_unicode_ci'; } } diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index cfecb3d729..e037d26f30 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -743,7 +743,7 @@ if (version_compare($current_version, '3.0.b6', '<=')) // sorting thang if ($map_dbms === 'mysql_41') { - sql_column_change($dbms, TOPICS_TABLE, 'topic_title', 'varchar(100) DEFAULT \'\' NOT NULL COLLATE utf8_general_ci'); + sql_column_change($dbms, TOPICS_TABLE, 'topic_title', 'varchar(100) DEFAULT \'\' NOT NULL COLLATE utf8_unicode_ci'); } if ($config['fulltext_native_common_thres'] == 20) diff --git a/phpBB/install/schemas/mysql_41_schema.sql b/phpBB/install/schemas/mysql_41_schema.sql index 4f56e3c998..07f60d816e 100644 --- a/phpBB/install/schemas/mysql_41_schema.sql +++ b/phpBB/install/schemas/mysql_41_schema.sql @@ -884,7 +884,7 @@ CREATE TABLE phpbb_topics ( topic_attachment tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, topic_approved tinyint(1) UNSIGNED DEFAULT '1' NOT NULL, topic_reported tinyint(1) UNSIGNED DEFAULT '0' NOT NULL, - topic_title varchar(100) DEFAULT '' NOT NULL COLLATE utf8_general_ci, + topic_title varchar(100) DEFAULT '' NOT NULL COLLATE utf8_unicode_ci, topic_poster mediumint(8) UNSIGNED DEFAULT '0' NOT NULL, topic_time int(11) UNSIGNED DEFAULT '0' NOT NULL, topic_time_limit int(11) UNSIGNED DEFAULT '0' NOT NULL,