forums › forums › SQLyog › Using SQLyog › Export Table Data As Xml – Encoding Issues
- This topic is empty.
-
AuthorPosts
-
-
September 27, 2010 at 9:33 pm #12117Alan BlakeMember
I have a database with almost 1000 records in it. These records contain French and special characters. When I do an export it appears to use the default UTF-8 and there is no option to change it so the export content appears like this:
« 200-27X » Paper Jam
I am using the Community Edition – are there better export options available in other versions that would allow me to keep the encodings?
Thanks.
Alan
-
September 28, 2010 at 5:35 am #31374ashwinMember
Hi,
I added your request to our Issue Tracker : http://code.google.com/p/sqlyog/issues/detail?id=1501
-
September 28, 2010 at 8:01 am #31375peterlaursenParticipant
Can you please detail this ” … so the export content appears like this: « 200-27X » Paper Jam”.
WHERE does it? If you open in Notepad? Or when you use it with your own application?
-
September 28, 2010 at 8:21 am #31376peterlaursenParticipant
OK .. if you open in Notepad it displays correctly (tested with Danish characters 'æøåÆØÅ'. Workaround is to open and save again as ANSI from Notepad or another text editor. That will recode the file.
I have to say that I doubt we will ever change/add this with the interactive XML-export. Non-unicode encodings are 'leaving the scene'. More than 50% of the web is now UTF8 and increasing.
[attachment=1439:xml.jpg]
[attachment=1440:code.jpg]
But we have this report too: http://code.google.com/p/sqlyog/issues/detail?id=716
Let us see what options 'mysqldump xml' and 'load data xml infile' have in MySQL 5.5.x
Finally you should notice that 'scheduled backup' (in ENTERPRISE and ULTIMATE editions) have this option (but for SQL dumps only currently). In 'scheduled backup' we could/should add an XML option.
-
September 28, 2010 at 2:01 pm #31377Alan BlakeMember'peterlaursen' wrote on '28:
Can you please detail this ” … so the export content appears like this: « 200-27X » Paper Jam”.
WHERE does it? If you open in Notepad? Or when you use it with your own application?
Thanks for all the replies. This is how it appears in Notepad++ (with Encoding of ANSI). The French characters appear correct but the Title special characters appear incorrectly.
890 « 200-27X » Paper Jam Error '200-27X' Paper Jam<br /><br />Cause: Papier de mauvaise qualité, toner qui a coulé, bris mécanique, etc. HARDWARE, HARDWARE / STORE / PRINTER / ..SELECT PRODUCT.. <b>(1)</b><br />Demander au client d’essayer de se débarrasser du paper jam.</br> Vous pouvez le guider en utilisant le document suivant:</br>
</br>
<li class="pdf"> <a href="documentation/REF/Lexmark Printer Paper Jam Troubleshooting.pdf" target="_blank"> Paper Jam Troubleshooting</a></li><br /><br /><b>(2)</b><br />Si ça n'a pas réglé le cas, ou si c'est récurrent, acheminer à <b>IBM<b>
NSC 2006-12-13 200-27X, Paper Jam STORE -
September 28, 2010 at 9:56 pm #31378peterlaursenParticipant
Why do you use a 'pre-historic'/'antique' setting in your text-editor? Forget about ANSI in the 21th century! We abandoned it 3-4 years ago (with the exception of 'scheduled backup' for compatibility with MySQL 3.x and 4.0 servers).
Open the file in a (recent and decent) text editor and 'save as.. ANSI' if you want to use the file in a non-unicode environment. As I told we will not return to the 20th century (it is 10 years after all). All files saved by SQLyog (with the exception of files created by 'scheduled backups') are UTF8 encoded and no chance we will change it.
Are you a COMMUNITY user or a user of a commercial license model (PROFESSIONAL/ ENTERPRISE / ULRIMATE) ? If the latter you are welcome to post in our ticket system for further discussion.
-
-
AuthorPosts
- You must be logged in to reply to this topic.