<br><div><span class="gmail_quote">On 5/29/07, <b class="gmail_sendername">Jay McCarthy</b> &lt;<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>&gt; It&#39;s not that difficult: bytes-&gt;string/utf-8 and family.<br><br>&gt; The main problem is that if this is going to fail, I don&#39;t want to be<br>&gt; the one blaimed for it. The server has no reason to look at these
<br>&gt; values, so it irks me that it crashes by them. Furthermore, by moving<br>&gt; the error in the servlet code, it can be caught more effectively and<br>&gt; displayed to the user in an appropriate context.</blockquote>
<div><br>Perhaps an on-demand conversion can be the best of both worlds?&nbsp; i.e. the bindings are parsed as bytes, but bytes-&gt;string* is called with extract-binding, so the error can be trapped by servlet, but we don&#39;t need to write explicit conversions in servlet unless necessary (and might be possible to pass in encoding too to switch between utf-8/current-locale/latin-1). 
<br><br>Just some more ideas... <br><br>yinso <br><br><br><br><br><br><br><br></div></div>