Is there any way for me to check and see if a text file is "safe to display" ? That is, it would not be a picture inside the text file ? not encrypted and pretty much, just a plain text file ?
To complicate matters, the file would be Unicode and so forth. It all depends on what you are using to display the file. If you are just going to display it as text (i.e., don't interpret formattings codes), _any_ file is safe. If you're going to display it as HTML (e.g., in a browser), you need to pass it through a filter that handles quoting of the meta characters: < > & ". If you're going to send it to a terminal, you probably want to quote any non-printing chracter (outside of space through tilde). More information is needed to provide good advice. Craig _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
