If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > mysqldump --xml and utf8

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-04, 05:59
ttasovac ttasovac is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
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
Reply With Quote
  #2 (permalink)  
Old 02-15-04, 10:38
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
You should use --default-character-set=
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
  #3 (permalink)  
Old 02-15-04, 10:52
ttasovac ttasovac is offline
Registered User
 
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On