diff --git a/htdocs/install/etape0.php b/htdocs/install/etape0.php
index cf4a1ccb2d2..6113b6fa4be 100644
--- a/htdocs/install/etape0.php
+++ b/htdocs/install/etape0.php
@@ -292,7 +292,7 @@ if (! $error && $db->connected)
if ($nbofchoice > 1) {
?>
-
+
|
@@ -316,7 +316,7 @@ if (! $error && $db->connected)
// We keep only utf8 and iso
//if (($_POST["db_type"] == 'mysql' ||$_POST["db_type"] == 'mysqli') && ! preg_match('/(utf8_general|latin1_swedish)/i',$collation['collation'])) $linedisabled=true;
- if (($_POST["db_type"] == 'mysql' ||$_POST["db_type"] == 'mysqli') && ! preg_match('/utf8/i',$collation['collation'])) $linedisabled=true;
+ if (($_POST["db_type"] == 'mysql' ||$_POST["db_type"] == 'mysqli') && ! preg_match('/utf8_general/i',$collation['collation'])) $linedisabled=true;
if ($defaultCollationConnection == $collation['collation'])
{