[Python-ideas] Add "htmlcharrefreplace" error handler

Alexander Belopolsky alexander.belopolsky at gmail.com
Fri Jun 14 13:33:53 CEST 2013


On Fri, Jun 14, 2013 at 7:20 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:
>
> On Fri, 14 Jun 2013 07:17:00 -0400
> Alexander Belopolsky
> <alexander.belopolsky at gmail.com> wrote:
> ..
> > On top of that, even HTML that is sent over the wire to a browser may
end
> > up being read by a human. ..
>
> If you want to *read* HTML (not write it), then you certainly want the
> original Unicode characters, not the garbled HTML entities meant to
> represent them.

Not necessarily.  More often than not the reason to reach for the "View
Source" menu item is that the page you are looking at is garbled.  In this
case it is frustrating to see similarly garbled source or a stream of
#NNNNs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130614/98d858a1/attachment.html>


More information about the Python-ideas mailing list