diff --git a/misc/convert_to_utf8.pl b/misc/convert_to_utf8.pl index d0a129d32a..c6592ff5f8 100755 --- a/misc/convert_to_utf8.pl +++ b/misc/convert_to_utf8.pl @@ -13,7 +13,7 @@ my $sth=$dbh->prepare($query); $sth->execute(); while (my @table=$sth->fetchrow_array()){ print "Altering table $table[0]\n"; - my $alter_query="ALTER TABLE $table[0] CHARACTER SET UTF8"; + my $alter_query="ALTER TABLE $table[0] CHARACTER SET UTF8 collate utf8_general_ci"; my $sth2=$dbh->prepare($alter_query); $sth2->execute(); $sth2->finish();