az0000000 — 2012-09-22T05:48:37-04:00 — #1
I have a Joomla 1.5 website with articles in English and Russian. I have exported the SQL database via phpMyAdmin using its default values. After importing the database to a new server i found out that all Russian content has a messed up charset, and looks something like this: Ðž Â«Ð‘ÐµÐ·Ð´ÑƒÑˆÐ½Ð¾Ð¹ ÐšÐ¾Ð¼Ð¿ÑŒÑŽÑ‚ÐµÑ€Ð½Ð¾Ð¹Â» ÐœÑƒÐ·Ñ‹ÐºÐµ
Then i have opened the database in Notepad++ and indeed all Cyrillic characters are a mess.
What setting should i set in phpMyAdmin to export the database properly, so Latin and Cyrillic content will be displayed properly?
My Joomla is utf-8, and so is the database.
pullo — 2012-09-22T08:29:29-04:00 — #2
Are you viewing your exported data in Notepad++ using the UTF8 encoding?
This can be found under the setting "Encoding", the fifth item in the menu bar at the top.
az0000000 — 2012-09-22T16:02:30-04:00 — #3
Exactly, and i see Cyrillic content messed.
pullo — 2012-09-23T07:44:19-04:00 — #4
So when you exported from PHPMyAdmin did you specify the character set as utf-8?
If not, you can do this by selecting "Export Method" as "Custom", then under "Output" select "utf-8" from the drop down menu.
az0000000 — 2012-09-23T11:34:30-04:00 — #5
My phpMyAdmin looks different actually. I think it was utf-8, i have used default settings, did not change. This is an example page of bad cyryllyc charset: http://azmand.site11.com/index.php?option=com_content&view=article&id=544:-q-q-&catid=3:text-main&Itemid=29
Now my database is utf-8 definitely, i have converted it and tables collation using a common sql query, it did no help anyway.
pullo — 2012-09-24T07:14:58-04:00 — #6
You need to find this out. If you are viewing your exported db file using the uft-8 encoding in Notepad++ (as described above) and you are seeing gobbledygook, then obviously the file wasn't exported correctly.
Even if your PHPMyAdmin interface looks different, there will be an option to specify the charset upon export.
I believe you that you are having the problem that you say you are.
az0000000 — 2012-09-24T07:20:02-04:00 — #7
Thanks a bunch for willing to help me everyone.
I have solved the issue finally. After all the exported database was OK, the issue was appearing when importing the database actually, that's because i was importing it using a tool from the hosting company, that tool was messing up all non latin characters.
So idecided to give a try to BigDump tool, and this is a very good one, it did it, it preserved the utf8 and latin charset because i told it so.
mittineague — 2014-09-18T22:32:12-04:00 — #8
This topic is now archived. It is frozen and cannot be changed in any way.