Please note: If this FAQ s empty you must choose English language from the drop-down-box below. Only English content is available as of now!
Navigation
- FAQ Home
- All categories
- About Webyog support and about this FAQ
- About the SQLyog program

- Connection issues

- Using the GUI
- Managing your MySQL Database Systems

- Database Schema Synchronization
- MySQL DATA synchronization
- Notification Services
- Importing external data
- Backup/Restore
- SQLyog Job Agent (SJA)

- Working with Views, Stored Procedures and Triggers
- Character Set and Localization Issues
- MySQL bugs that affect SQLyog
- Questions on Open Source and Compiling
- Instant Response
- Sitemap
Most popular FAQs 
- I get error 1130 "Host is not allowed to ... (115538 views)
- Error no. 2003: Can't connect... (52190 views)
- Error no. 1251: "Client does not support authentication..." (48123 views)
- Error no. 1045: "Connection denied..." (41402 views)
- SQLyog Version History (40017 views)
- What is HTTP-tunneling? (29328 views)
- Error No. 2005: Unknown MySQL server host... (28432 views)
- What Is SSH and SSH-tunneling? (25525 views)
- Why are Stored Procedures not created when I import ... (23531 views)
- Do I need PHP to use SQLyog with MySQL? ... (21544 views)
Latest FAQs 
- SQLyog Version History (2010-03-09 03:20)
- SQLyog is a client for the MySQL server - ... (2009-09-11 07:48)
- Can I use SQLyog with the various SQL-modes available ... (2009-08-20 08:02)
- Failed dependency for libstdc++.so.5 error (2009-08-13 11:22)
- Wrong results are returned for FOUND_ROWS(). (2009-08-12 06:31)
Character Set and Localization Issues
What encoding is used for files saved by SQLyog?
Starting from SQLyog version 6.0 every file stored by SQLyog is UTF8-encoded. That applies to:
- configuration files and log files (.ini, .log , .err)
- SQL-files generated by the various backup and export functionalities
- SJA job files
- SQL scripts saved from the program's SQL editor (file ..save)
The reason for this is that when such files contain a string with localized/special characters, those characters will always display as what there are: Latin, Cyrillic, Arabic, Chinese of whatever characters!
Also in those situations where:
1) Strings contain characters for a language where no non-unicode implementation/no ANSI codepage exist.
2) Strings contains characters from more than one ANSI codepage
.. using ANSI encoding simply would not work. The first situation applies to dozens (or probably hundreds) of languages - of which several are spoken and written by several million people around the world. That is true for a lot of Indian languages for example. And the second example won't need to be very 'exotic' either: Special characters from Western European languages (ex: French, Spanish) cannot be used with special characters from Central European languages (ex: Polish, Czech) in one ANSI codepage. A unicode encoding (utf8 or utf16) is required!
Also in the situation where
3) Strings contains characters from one ANSI codepage and the actual computer uses a LOCALE where another ANSI codepage is used
.. various problems would arise!
When opening such file in SQLyog editor we will check for the encoding by identifying characteristic byte patterns for UTF8 and the native Windows ('little endian' UTF16) encodings. If characteristic patterns for either are not found ANSI will be assumed. So with SQLyog you can open files generated by SQLyog or any other program.However 'the other way around' you may need to re-encode the file to ANSI if the program where you want to open a file generated by SQLyog does not support UTF8. A simple way to do this is to open the file in a text editor (like Notepad) and 'save as' and explicitly select ANSI as the encoding to use. That will work smoothly if neither of the conditions 1) or 2) above prevents it.
Most important it is documented that the 'mysql' command line client on Windows only handles ANSI-encoded files. Please refer to http://bugs.mysql.com/bug.php?id=29323
Tags: -
Related entries:
- Do I need PHP to use SQLyog with MySQL?
- SQLyog gives you the most options for connecting to MySQL
- Welcome to the Webyog FAQ
- Installation and upgrading
- Buying and Licensing SQLyog
Last update: 2007-06-30 07:29
Author: Peter Laursen
Revision: 1.0
You can comment this FAQ