I have a problem with MySQL charsets.
In many table fields I have greek characters.
With phpMyAdmin & MySQL Command Center I see greek characters correct.
The same from my PHP pages.
When I run the following command
------------------
mysqldump -uroot -p my_database > out.sql
or
mysqldump --character-sets-dir=..\share\ch arsets -uroot -p --default-charac
ter-set=greek my_database > out.sql
------------------
I take a file out.sql with wrong characters.
First command gives out.sql in UTF-8 format but I cannon open it correctly
(I use MSWord and other UTF-8 readers)
The same problem with MySQL Administrator.
I think to programming a PHP which takes backup from my database but it is
wested time...
In many table fields I have greek characters.
With phpMyAdmin & MySQL Command Center I see greek characters correct.
The same from my PHP pages.
When I run the following command
------------------
mysqldump -uroot -p my_database > out.sql
or
mysqldump --character-sets-dir=..\share\ch arsets -uroot -p --default-charac
ter-set=greek my_database > out.sql
------------------
I take a file out.sql with wrong characters.
First command gives out.sql in UTF-8 format but I cannon open it correctly
(I use MSWord and other UTF-8 readers)
The same problem with MySQL Administrator.
I think to programming a PHP which takes backup from my database but it is
wested time...
Comment