Trying to export to XML we have a porblem with function utf8_encode() that exist in file /libraries/export/xml.php on line 340. All data in russian (utf8 or cp1251, no matter) looks like ÐлавнаÑ.
If we will change this line:
$buffer .= ' <column name="' . $columns[$i] . '">' . htmlspecialchars(utf8_encode((string)$record[$i]))
To this one:
$buffer .= ' <column name="' . $columns[$i] . '">' . htmlspecialchars((string)$record[$i])
The problem is gone.
Hi Victor,
Please attach here a small SQL export of your table, I want to be sure that your data is correctly stored in the original table.
See also http://wiki.phpmyadmin.net/pma/Garbled_data
2 rows with Russian text in it (utf8)
Yes, sure. Did upload the file with 2 rows and Russian text in it in utf8.
Sorry, forgot to tell you, it's phpMyAdmin 3.3.1.
Moved to patches
Your patch was merged in the repository, thanks.