Hi.
Is there a method available somewhere in python to urlquote(?) a string.
Example: lösning - l%f6sning
/Magnus
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related
in module 'urllib'
quote (string[, safe])
Replace special characters in string using the "%xx" escape.
Doesn't work like that here.
import urllib
urllib.quote('lösning')
'l\366sning'
Am I doing anything wrong? :-P
/Magnus
___
Zope
On Fri, 30 Jun 2000, Magnus Heino (Rivermen) wrote:
Am I doing anything wrong? :-P
Are you using this within Zope? Then you could do:
dtml-var the_variable url_quote
If I'm not mistaken, Zope also has sql_quote and html_quote.
___
Zope