On Apr 15, 2007, at 10:36 AM, John McKernon wrote:

> One problem I've encountered is that using text files as data files  
> often
> means they're corrupted if someone emails them. The email programs  
> think
> they're "just text" and have their way with them...:(
>
> Any suggestions for how to keep this from happening? (Other than  
> telling my
> users to .zip them first, which some of them understand and others  
> don't.)
>
> - John

You could have your encryption routine EncodeBase64 the result, not  
so that it is harder to read, but such that it is harder to mess up  
the encoding.  What I like about EncodeBase64 is that you can apply  
it to any string and get a string back that is just letters.  You can  
even copy and paste it into an email, send it to someone, and then  
they can copy and paste it into your program and it will still work.

- Andrew Keller
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to