22 Aug
2001
22 Aug
'01
9:17 p.m.
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