[Zope] url_quote

Chris Withers chrisw@nipltd.com
Wed, 22 Aug 2001 12:35:37 -0400


> newlines in TEXTAREAS used to enter forms are encoded as %0D%0A by
> url_quote which is standard (newline+return).

That's 'cos newlines returned by text areas vary from system to system and
browser to browser ;-)

I'd use a regex to turn them all into single \n's...

There's probably in in Squishdot's Utility.py if you're interested.

cheers,

Chris