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:
If I'm not mistaken, Zope also has sql_quote and html_quote.
___
Zope maillist - [EMAIL PROTECTED]
h
> 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
___
Zop
>Hi.
>
>Is there a method available somewhere in python to urlquote(?) a string.
>
>Example: lösning -> l%f6sning
>
>/Magnus
in module 'urllib'
quote (string[, safe])
Replace special characters in string using the "%xx" escape. Letters, digits,
and the characters "_,.-" are never quoted. Th
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