  | |  | Encoding / reading mysqldump script | Encoding / reading mysqldump script 2004-12-22 - By Patrick Questembert
Back I am trying to read a large .SQL file generated by MySQLDump, to selectively use portions of it (as opposed to restoring the entire database) and am encountering difficulties doing so from within a C#/>NET program.
It appears that mysqldump uses an encoding other than UTF8/UTF16/ASCII as I have tried all of the above unsuccessfully - no matter how I try to read the file, the System.IO.StreamReader object returns some kind of converted values for characters with code > 127.
Before I go and read it all as a binary file, can anyone enlighten me on what's going on? It's entirely possible that this is all my own lack of understanding of the topic of encoding ...
Thanks, Patrick Questembert
-- MySQL Windows Mailing List For list archives: http://lists.mysql.com/win32 To unsubscribe: http://lists.mysql.com/win32?unsub=mysql@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |