Merge branch 'QA_4_5'
This commit is contained in:
commit
671a5f7b0c
@ -37,6 +37,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #11784 Properly handle errors in upacking zip archive
|
||||
- issue #11785 Set PHP's internal encoding to UTF-8
|
||||
- issue #11786 Fixed Kanji encoding in some specific cases
|
||||
- issue #11787 Check whether iconv works before using it
|
||||
|
||||
4.5.3.1 (2015-12-25)
|
||||
- issue #11774 Undefined offset 2
|
||||
|
||||
@ -41,7 +41,13 @@ if ($GLOBALS['cfg']['RecodingEngine'] == 'iconv') {
|
||||
PMA_warnMissingExtension('mbstring');
|
||||
}
|
||||
} elseif ($GLOBALS['cfg']['RecodingEngine'] == 'auto') {
|
||||
if (@function_exists('iconv')) {
|
||||
/*
|
||||
* We also need to verify iconv works, see
|
||||
* https://github.com/phpmyadmin/phpmyadmin/issues/11787/
|
||||
* and
|
||||
* https://bugs.php.net/bug.php?id=44096
|
||||
*/
|
||||
if (@function_exists('iconv') && @iconv_strlen('', 'cp1250') !== false) {
|
||||
$PMA_recoding_engine = PMA_getIconvRecodingEngine();
|
||||
} elseif (@function_exists('recode_string')) {
|
||||
$PMA_recoding_engine = PMA_CHARSET_RECODE;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user