[Zope] url_quote

Dieter Maurer dieter@handshake.de
Wed, 22 Aug 2001 23:17:28 +0200 (CEST)


Alex Burton writes:
 > newlines in TEXTAREAS used to enter forms are encoded as %0D%0A by 
 > url_quote which is standard (newline+return).  however, this data is 
 > loaded by a Flash file (through a loadvariables call), and Flash 
 > renders 2 newlines instead of just one (treating both %0D and %0A as 
 > new lines).
You can give them the ":text" type suffix and line endings
will be normalized on input to Zope.

See (e.g.) the "ZPublisher" section of

  URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html

for details.


Dieter