' . "\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" . '' . "\n" . ' ' . "\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 '
' . __('Collation') . '' . __('Description') . '
' . "\n" . '' . "\n" . '' . "\n" . ' ' . "\n" . '' . "\n"; } $i++; echo '' . "\n" . '' . "\n"; $odd_row = true; foreach ($mysql_collations[$current_charset] as $current_collation) { $i++; echo '' . "\n" . ' ' . "\n" . ' ' . "\n" . '' . "\n"; $odd_row = !$odd_row; } } unset($table_row_count); echo '
' . __('Collation') . '' . __('Description') . '
' . "\n" . ' ' . htmlspecialchars($current_charset) . "\n" . (empty($mysql_charsets_descriptions[$current_charset]) ? '' : ' (' . htmlspecialchars( $mysql_charsets_descriptions[$current_charset] ) . ')' . "\n") . '
' . htmlspecialchars($current_collation) . '' . PMA_getCollationDescr($current_collation) . '
' . "\n" . '
' . "\n"; ?>