<div dir="ltr"><div class="gmail_extra">On 14 June 2013 11:11, M.-A. Lemburg <span dir="ltr"><<a href="mailto:mal@egenix.com" target="_blank">mal@egenix.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":u" style="overflow:hidden">I'm not sure I follow. I've definitely had use cases for the<br>
proposed error handler in the past and have written my own<br>
set of tools to do such conversions.</div></blockquote></div><br>Just as an extra data point, I have also had need for this functionality in the past. It is sometimes possible to use xmlcharrefreplace as an alternative, but having the "named" entities in the output is often useful for debugging, if nothing else.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra" style>The technicalities of HTML/HTTP encodings are not so much the issue here. Much of the output of programs that would use this functionality, while ultimately intended for consumption on the web, is often read in a text editor as part of debugging and review, if nothing else. For that purpose, readable output is very useful. And sticking to ASCII, while not essential, certainly helps in an environment like Windows where UTF-8 is *not* universal (whether it should be is really not the point here).</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>Paul</div></div>