Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2004
    Posts
    2

    Unanswered: mysqldump --xml and utf8

    I am trying to xml dump my database which contains Cyrillic UTF8 text. In the result, the xml tags are displayed properly but the Cyrillic content comes out as garbage.

    This does NOT happen when I do the regular SELECT queries...

    What does that mean? Any idea why the two outputs would be differently encoded? And where should I look to fix this.

    Beginner here, so please be gentle!

    All best,
    Toma

  2. #2
    Join Date
    Jan 2003
    Location
    Paris, France
    Posts
    320
    You should use --default-character-set=
    Olivier Miossec
    --
    http://www.lasso-developpeur.net/
    --

  3. #3
    Join Date
    Feb 2004
    Posts
    2
    Unfortunately, that's not it. Mysqldump is using utf8 by default, + I also tried to force utf8 as the character set during mysqldum, but I got the same results.

    As I said, I have no problems with regular queries (SELECT, SET, INSERT...) -- everything is working out fine. I'm just suck with the dump.



    All best,
    T.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •