diff --git a/ChangeLog b/ChangeLog index 30b414c7ba..86756d5c68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,9 @@ + rfe #3310562 Wording about Column 3.4.3.0 (not yet released) +- bug #3311170 [sync] Missing helper icons in Synchronize +- patch #3304473 [setup] Redefine a lable that was wrong +- bug #3304544 [parser] master is not a reserved word 3.4.2.0 (not yet released) - bug #3301249 [interface] Iconic table operations does not remove inline edit label diff --git a/export.php b/export.php index 22a6324261..9471ba0c15 100644 --- a/export.php +++ b/export.php @@ -147,7 +147,7 @@ function PMA_exportOutputHandler($line) if ($dump_buffer_len > $GLOBALS['memory_limit']) { if ($GLOBALS['output_charset_conversion']) { - $dump_buffer = PMA_convert_string($GLOBALS['charset'], $GLOBALS['charset_of_file'], $dump_buffer); + $dump_buffer = PMA_convert_string('utf-8', $GLOBALS['charset_of_file'], $dump_buffer); } // as bzipped if ($GLOBALS['compression'] == 'bzip' && @function_exists('bzcompress')) { @@ -181,7 +181,7 @@ function PMA_exportOutputHandler($line) } else { if ($GLOBALS['asfile']) { if ($GLOBALS['output_charset_conversion']) { - $line = PMA_convert_string($GLOBALS['charset'], $GLOBALS['charset_of_file'], $line); + $line = PMA_convert_string('utf-8', $GLOBALS['charset_of_file'], $line); } if ($GLOBALS['save_on_server'] && strlen($line) > 0) { $write_result = @fwrite($GLOBALS['file_handle'], $line); @@ -218,7 +218,7 @@ $output_kanji_conversion = function_exists('PMA_kanji_str_conv') && $type != 'xl // Do we need to convert charset? $output_charset_conversion = $asfile && $GLOBALS['PMA_recoding_engine'] != PMA_CHARSET_NONE - && isset($charset_of_file) && $charset_of_file != $charset + && isset($charset_of_file) && $charset_of_file != 'utf-8' && $type != 'xls'; // Use on the fly compression? @@ -273,7 +273,7 @@ if ($asfile) { $filename = PMA_expandUserString($filename_template); // convert filename to iso-8859-1, it is safer - $filename = PMA_convert_string($charset, 'iso-8859-1', $filename); + $filename = PMA_convert_string('utf-8', 'iso-8859-1', $filename); // Grab basic dump extension and mime type // Check if the user already added extension; get the substring where the extension would be if it was included @@ -637,7 +637,7 @@ if ($save_on_server && isset($message)) { if (!empty($asfile)) { // Convert the charset if required. if ($output_charset_conversion) { - $dump_buffer = PMA_convert_string($GLOBALS['charset'], $GLOBALS['charset_of_file'], $dump_buffer); + $dump_buffer = PMA_convert_string('utf-8', $GLOBALS['charset_of_file'], $dump_buffer); } // Do the compression diff --git a/import.php b/import.php index 0b029e5c2f..8837af2fac 100644 --- a/import.php +++ b/import.php @@ -343,7 +343,7 @@ if ($import_file != 'none' && !$error) { // Convert the file's charset if necessary if ($GLOBALS['PMA_recoding_engine'] != PMA_CHARSET_NONE && isset($charset_of_file)) { - if ($charset_of_file != $charset) { + if ($charset_of_file != 'utf-8') { $charset_conversion = TRUE; } } elseif (isset($charset_of_file) && $charset_of_file != 'utf8') { diff --git a/index.php b/index.php index 66f6bf5545..36a611878e 100644 --- a/index.php +++ b/index.php @@ -12,7 +12,6 @@ * or common.inc.php * @uses $GLOBALS['available_languages'] from common.inc.php (select_lang.lib.php) * @uses $GLOBALS['db'] - * @uses $GLOBALS['charset'] * @uses $GLOBALS['lang'] * @uses $GLOBALS['text_dir'] * @uses $_ENV['HTTP_HOST'] @@ -102,8 +101,7 @@ include ('./libraries/header_http.inc.php');