Couldn't you do something along the lines of encodeURIComponent()? Convert all % to %25, and convert all \n and \r symbols to %0A and %0D ?
On 1/24/10 5:33 PM, "Robert Hanson" <[email protected]> wrote: I've altered Jmol.js when it finds that a model has a vertical bar in it to substitute the string "\\/n" -- escaped backslash - forward slash - n -- sort of along the lines of what your server is doing. This would be a VERY unusual thing to have in a model file. (I suppose it's not impossible, so technically this is still a hack.) ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

