<div>> What else can I try?</div><div><br></div>(setf hunchentoot:*hunchentoot-default-external-format* hunchentoot::+utf-8+)<div><br></div><div><br></div><div>Andrey<br><br><div class="gmail_quote">2010/4/13 Sebastian Tennant <span dir="ltr"><<a href="mailto:sebyte@smolny.plus.com">sebyte@smolny.plus.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
CL-USER> (hunchentoot-asd:*hunchentoot-version*)<br>
"1.1.0"<br>
<br>
With:<br>
<br>
  (setq tbnl:*default-content-type* "text/html; charset=utf-8")<br>
<br>
called once when TBNL is initialised, Turkish characters provided in Lisp<br>
source files are sent to the client without a problem, but Turkish characters<br>
that come from a UTF-8 database via Postmodern cause the following error:<br>
<br>
  Error while processing connection: #\LATIN_SMALL_LETTER_DOTLESS_I (code 305)<br>
  is not a LATIN-1 character.<br>
<br>
before they can be sent to the client.<br>
<br>
Why does TBNL expect LATIN-1 characters in one context but not in another?<br>
<br>
Incidentally, I experience the same 'not a LATIN-1 character' error when I<br>
evaluate Lisp files via SLIME, but not when the files are load'ed.<br>
<br>
Putting:<br>
<br>
  (setf (content-type*) "text/html; charset=utf-8")<br>
<br>
in the handler makes no difference.<br>
<br>
What else can I try?<br>
<br>
Seb<br>
<br>
P.S. Turkish characters in the results of Postmodern queries performed directly<br>
     in the REPL are displayed (in SLIME) correctly.<br>
<br>
--<br>
Emacs' AlsaPlayer - Music Without Jolts<br>
Lightweight, full-featured and mindful of your idyllic happiness.<br>
<a href="http://home.gna.org/eap" target="_blank">http://home.gna.org/eap</a><br>
<br>
<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></div>