I have been experiencing a problem that phpmyadmin does not encode the data to chosen charcter set when exporting as CSV file by export.php.
It's not only CSV format but perhaps all of kind of format available on export.php.
My database MySQL5.1 is set to use UTF-8 as its character set and I use Japanese character incuding Kanji. I can see them correctly on phpmyadmin when I execute SQL on it but when exporting the result of a query to a file they get corrupted.
Adding "'knjenc'," into the array $post_params will fix this problem.
"$GLOBALS['knjenc']" is needed on line 336 of export.php to encode SQL query result into the user choice encoding but it it not in the array "$GLOBALS" as it is not in the array "$post_params".
I would like you to confirm this is the right way of fixing this problem and put same kind of fix in the near future release if possible.