[hunchentoot-devel] Connection to Postgres via Postmodern with Unicode

Edi Weitz edi at agharta.de
Mon Apr 30 14:27:38 UTC 2007


On Mon, 30 Apr 2007 13:41:00 +0200, "Jens Teich" <info at jensteich.de> wrote:

> But the same thing in the web using an easy-handler
>
> | (define-easy-handler (test :uri (prefixed "test"))()
> |   (with-html-output-to-string (out)
> |     (postmodern:with-connection ("web_access"
> |                                  "web_access"
> |                                  "xxx"
> |                                  "localhost")
> |       (htm
> |        (:html (:head (:title "Testpage"))
> |         (:body (:p (fmt "~a"
> |                         (postmodern:query
> |                          "select * from merkmale limit 10")))))))))

Where do you set the content type header?

> works fine unless higher unicode characters are involved.
>
> Empty page in the browser then, no error. Simply a blank page.

Log file?  Did you try *CATCH-ERRORS-P*?



More information about the Tbnl-devel mailing list