File Compression - Confused!

T

tc

Hi all.

I'm trying to get a small app together for some testing which may become
something very standard for my file transfers, but it's not all going
smoothly!

I've found and downloaded some file compression and decompression code,
looks fine.

I can compress files and decompress files without any problem. However...

I'm trying this with a MySql backup file. After the file is compressed and
then uncompressed the MySql admin tools will not restore the file, it says
the wrong character set has been used ??

I've added some more code to run through the file line by line and cannot
find a single thing that is different.

Anyone have any ideas?

Cheers.
 
A

Andrew Morton

tc said:
I'm trying to get a small app together for some testing which may
become something very standard for my file transfers, but it's not
all going smoothly!

I've found and downloaded some file compression and decompression
code, looks fine.

I can compress files and decompress files without any problem. However...
I'm trying this with a MySql backup file. After the file is
compressed and then uncompressed the MySql admin tools will not
restore the file, it says the wrong character set has been used ??

I've added some more code to run through the file line by line and
cannot find a single thing that is different.

Have you tried the command-line utility fc using the /b option for the
comparison?

I suspect something has gone Unicode on you. Otherwise, you might want to
post to a MySql newsgroup.

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top