A critique of cgi.escape

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Sep 26 20:31:58 EDT 2006


In message <mailman.672.1159275735.10491.python-list at python.org>, Fredrik
Lundh wrote:

> Jon Ribbens wrote:
> 
>> This has nothing to do with character encodings.
> 
> it has *everything* to do with encoding of existing data into HTML so it
> can be safely transported to, and recreated by, an HTML-aware client.
> 
> does the word "information set" mean anything to you?

The special characters we're talking about escaping--ampersand, less-than,
single-quote, double-quote--are part of the basic syntax of XML and HTML.
They are information-set-independent.



More information about the Python-list mailing list