Have you tried issuing an appropriate CPCONVERT() on the data before encrypting or decrypting it?
BTW I believe US MS-DOS code page is 437, not 537.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up