' . "\n"
. ' ' . PMA_Util::getImage('s_asci.png')
. '' . __('Character Sets and Collations') . "\n"
. '' . "\n";
/**
* Includes the required charset library
*/
require_once 'libraries/mysql_charsets.lib.php';
/**
* Outputs the result
*/
echo '
' . "\n"
. '
' . "\n"
. '' . __('Collation') . ' | ' . "\n"
. ' ' . __('Description') . ' | ' . "\n"
. '
' . "\n";
$i = 0;
$table_row_count = count($mysql_charsets) + count($mysql_collations);
foreach ($mysql_charsets as $current_charset) {
if ($i >= $table_row_count / 2) {
$i = 0;
echo '
' . "\n"
. '
' . "\n"
. '' . __('Collation') . ' | ' . "\n"
. ' ' . __('Description') . ' | ' . "\n"
. '
' . "\n";
}
$i++;
echo '' . "\n"
. ' ' . htmlspecialchars($current_charset) . "\n"
. (empty($mysql_charsets_descriptions[$current_charset])
? ''
: ' (' . htmlspecialchars(
$mysql_charsets_descriptions[$current_charset]
) . ')' . "\n")
. ' | ' . "\n"
. '
' . "\n";
$odd_row = true;
foreach ($mysql_collations[$current_charset] as $current_collation) {
$i++;
echo '' . "\n"
. ' ' . htmlspecialchars($current_collation) . ' | ' . "\n"
. ' ' . PMA_getCollationDescr($current_collation) . ' | ' . "\n"
. '
' . "\n";
$odd_row = !$odd_row;
}
}
unset($table_row_count);
echo '
' . "\n"
. '
' . "\n";
?>