[Zope] How to escape quotation mark in dtml script?

2001-01-08 Thread Dirksen
dtml-call "REQUEST.set('a', '\"b\"')" won't work! Please help. Dirksen __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ ___ Zope maillist - [EMAIL

[Zope] How to escape quotation mark in dtml script?

2001-01-08 Thread Dirksen
dtml-call "REQUEST.set('a', 'a\"b')" __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] How to escape quotation mark in dtml script?

2001-01-08 Thread Randall F. Kern
dtml-call "REQUEST.set('a', _.chr(34) + 'b' + _.chr(34))" -Randy -Original Message- From: Dirksen [mailto:[EMAIL PROTECTED]] Sent: Monday, January 08, 2001 12:41 AM To: [EMAIL PROTECTED] Subject: [Zope] How to escape quotation mark in dtml script? dtml-call "REQUES

Re: [Zope] How to escape quotation mark in dtml script?

2001-01-08 Thread Dieter Maurer
Dirksen writes: dtml-call "REQUEST.set('a', '\"b\"')" won't work! Please help. You can use the "octal escape sequence" for any character. For " it is \042. Thus, dtml-call "REQUEST.set('a', '\042b\042')" will work. Dieter ___ Zope maillist -