<div class="gmail_quote">On Tue, Sep 6, 2011 at 3:59 PM, Matthew Mondor <span dir="ltr"><<a href="mailto:mm_lists@pulsar-zone.net">mm_lists@pulsar-zone.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":ep">The other problem, which I only discovered yesterday night when testing<br>
the first dynamic application appears to be unicode related: In the<br>
test application many messages can be entered of various length and<br>
everything is fine. Yet if I start copy-pasting UTF-8 from<br>
UTF-8-demo.txt<br>
(<a href="http://www.cl.cam.ac.uk/%7Emgk25/ucs/examples/UTF-8-demo.txt" target="_blank">http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt</a>) then<br>
eventually the whole document isn't sent anymore, with the browser<br>
waiting for it to finish loading but it doesn't (a partial page<br>
results)</div></blockquote></div><br>Hi Matthew, I have not been able to reproduce the crashes yet, but I solved this problem. The value that you compute as "content-length" in the http header is the number of lisp characters, not the number of bytes in the utf-8 encoding. When I changed it to compute the length of the encoded string, then the server worked perfectly (it is very nice and feels very snappy indeed!)<br>
<br>I will continue investigating the other stuff.<br><br>Juanjo<br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>