I was figuring on a simpler process, but of course something like that would be optimal.

On Sun, Jan 24, 2010 at 5:01 PM, Grossman, Robert B <robert.grossman@uky.edu> wrote:
Yes, of course it does, but the point is you look for any string beginning with % and you know it is an encoded character.  Kind of like using & in HTML.  ChemAxon uses it to pass parameters to the Marvin applets.


On 1/24/10 5:57 PM, "Robert Hanson" <hansonr@stolaf.edu> wrote:

JVXL includes those characters.

On Sun, Jan 24, 2010 at 4:48 PM, Grossman, Robert B <robert.grossman@uky.edu> wrote:
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" <hansonr@stolaf.edu> 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
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users




------------------------------------------------------------------------------
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
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users



--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900