[Bug]: ErrorException: iconv(): Wrong encoding, conversion from "utf-8" to "SJIS-win//TRANSLIT" is not allowed
Author: liviuconcioiuCreated Feb 18, 2026Updated Sep 10, 2026
LabelsBug
Describe the bug
Internal error in .\libraries\classes\Encoding.php#208
ErrorException: iconv(): Wrong encoding, conversion from "utf-8" to "SJIS-win//TRANSLIT" is not allowedHow to Reproduce
CREATE TABLE `test_table` (
`id` int(11) NOT NULL,
`col` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
INSERT INTO `test_table` (`id`, `col`) VALUES (1, 'テスト');- Export table as SQL with custom options
- Select
SJIS-winfromCharacter set of the file. - Click on
Export - See error
Screenshots
https://github.com/user-attachments/assets/5903b8f8-ce90-4545-85e5-ff0303b114d3
PHP version
8.5.3
phpMyAdmin version
5.2.4-dev, 6.0.0-dev
Source: phpmyadmin/phpmyadmin