By default, the debugger is not entered, but the error info appears in /tmp/hunchentoot.log, e.g.<br>[ERROR]] Error while processing connection: #\U4F60 (code 20320) is not a LATIN-1 character.<br><br>In 1.0 release,  *break-on-signals* is used to enter the debugger<br>
In the old release and 1.1,  when *catch-errors-p* is set as nil, the debugger will be entered.<br>The related discussion thread can be found at:<br><a href="http://common-lisp.net/pipermail/tbnl-devel/2009-November/004928.html">http://common-lisp.net/pipermail/tbnl-devel/2009-November/004928.html</a><br>
<br>cheers<br>Li<br><br><br><div class="gmail_quote">2010/1/23 Ron Garret <span dir="ltr"><<a href="mailto:ron@flownet.com">ron@flownet.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">That was the problem.  But why did it fail silently?  I would have expected something along the line to complain about a non-encodable character.<div><br></div><font color="#888888"><div>rg</div></font><div>
<div></div><div class="h5"><div><br><div><div>On Jan 22, 2010, at 7:32 PM, Li Gong wrote:</div><br><blockquote type="cite">What's the value of *hunchentoot-default-external-format* ?  By default,  it is +latin-1+<br>To support UTF-8,    change it as<br>
(setf *hunchentoot-default-external-format* (flex:make-external-format :utf8 :eol-style :lf))<br>
<br>My website still uses hunchentoot 0.15.7。It returns the non-ascii character page and  always work fine.<br><br><br><div class="gmail_quote">2010/1/23 Ron Garret <span dir="ltr"><<a href="mailto:ron@flownet.com" target="_blank">ron@flownet.com</a>></span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Subject line says it all.  If I have a handler that returns a string that has a non-ascii character in it then the handler fails silently.  No headers.  No log messages.  No errors.  No nothing.<br>


<br>
And as long as I'm at it, what does TBNL stand for?<br>
<br>
Thanks,<br>
rg<br>
<br>
<br>
_______________________________________________<br>
tbnl-devel site list<br>
<a href="mailto:tbnl-devel@common-lisp.net" target="_blank">tbnl-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/mailman/listinfo/tbnl-devel" target="_blank">http://common-lisp.net/mailman/listinfo/tbnl-devel</a><br>
</blockquote></div><br>
_______________________________________________<br>tbnl-devel site list<br><a href="mailto:tbnl-devel@common-lisp.net" target="_blank">tbnl-devel@common-lisp.net</a><br><a href="http://common-lisp.net/mailman/listinfo/tbnl-devel" target="_blank">http://common-lisp.net/mailman/listinfo/tbnl-devel</a></blockquote>
</div><br></div></div></div></div><br>_______________________________________________<br>
tbnl-devel site list<br>
<a href="mailto:tbnl-devel@common-lisp.net">tbnl-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/mailman/listinfo/tbnl-devel" target="_blank">http://common-lisp.net/mailman/listinfo/tbnl-devel</a><br></blockquote></div><br>