no longer useful since all lang files are UTF-8
This commit is contained in:
@@ -206,8 +206,7 @@ if ($what == 'sql') {
|
||||
$output_kanji_conversion = function_exists('PMA_kanji_str_conv') && $type != 'xls';
|
||||
|
||||
// Do we need to convert charset?
|
||||
$output_charset_conversion = $asfile &&
|
||||
$cfg['AllowAnywhereRecoding'] && $allow_recoding
|
||||
$output_charset_conversion = $asfile && $cfg['AllowAnywhereRecoding']
|
||||
&& isset($charset_of_file) && $charset_of_file != $charset
|
||||
&& $type != 'xls';
|
||||
|
||||
@@ -262,7 +261,7 @@ if ($asfile) {
|
||||
}
|
||||
|
||||
// convert filename to iso-8859-1, it is safer
|
||||
if (!(isset($cfg['AllowAnywhereRecoding']) && $cfg['AllowAnywhereRecoding'] && $allow_recoding)) {
|
||||
if (!(isset($cfg['AllowAnywhereRecoding']) && $cfg['AllowAnywhereRecoding'] )) {
|
||||
$filename = PMA_convert_string($charset, 'iso-8859-1', $filename);
|
||||
} else {
|
||||
$filename = PMA_convert_string($convcharset, 'iso-8859-1', $filename);
|
||||
|
Reference in New Issue
Block a user