I'm having a problem with dumping a UTF-8 table to an sql file. The table has many non-ascii characters in it, but when I export it, the file has them encoded as an odd sequence of hex numbers.
I'm not sure if it's something to do with how the table is set up but I'm hoping someone can help me with this as my backup is now useless.
An example, the letter ö appears as it should in the table, but in the sql file, it appears as <C3><83><C2><B6> and when I reimport it back through Heidi, it appears as garbage.
Can anyone please help?
Exporting UTF8 table
looks like a multiple encoding to me - ie result of "encode something from other charset to utf8, then encode result to utf8 again".
check that your server variables charset_* all have the value "utf8" (except character_set_filesystem which should be "binary"); if any of these is different, mysql will automatically translate the utf8 values to that charset on output (may happen several times).
check that your server variables charset_* all have the value "utf8" (except character_set_filesystem which should be "binary"); if any of these is different, mysql will automatically translate the utf8 values to that charset on output (may happen several times).
Please login to leave a reply, or register at first.