durusmail: quixote-users: html encode??? (special characters to entities)
html encode??? (special characters to entities)
2003-07-11
2003-07-11
2003-07-11
2003-07-11
2003-07-11
html encode??? (special characters to entities)
Bud P. Bruegger
2003-07-11
Oleg,

many thanks for the reply.  Unfortunately, it is still not what
I need.

What I would like is something that traslates for example an 'à' in a
string to an 'à'

--b

PS.  does anyone know of an easy way to type special characters on
linux keyboards?  I read about using (left or right) ALT (depending on
keyboard) together with the ordinal number of the character--but that
is said to work only with the keys of the numeric keypad that is
missing on my laptop...




On Fri, 11 Jul 2003 13:09:35 +0400
Oleg Broytmann  wrote:

> On Fri, Jul 11, 2003 at 10:32:25AM +0200, Bud P. Bruegger wrote:
> > But the functions you pointed me to don't affect accented characters,
> > umlauts, etc.
>
>    These functions are for *html* quoting. If you need *URL* quoting you
> need urllib.quote, urllib.quote_plus or quixote.html.url_quote.
>
> Oleg.
> --
>      Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
>            Programmers don't die, they just GOSUB without RETURN.
>


/-----------------------------------------------------------------
| Bud P. Bruegger, Ph.D.
| Sistema (www.sistema.it)
| Via U. Bassi, 54
| 58100 Grosseto, Italy
| +39-0564-411682 (voice and fax)
\-----------------------------------------------------------------

reply