[hunchentoot-devel] hunchentoot:*default-content-type* & hunchentoot:*hunchentoot-default-external-format*

Edi Weitz edi at weitz.de
Wed Jun 15 09:27:27 UTC 2011


You can look into the test directory to find some simple examples of
UTF-8 pages served by Hunchentoot.

On Wed, Jun 15, 2011 at 12:27 AM, Thibault Langlois <tl at di.fc.ul.pt> wrote:
> Hi,
>
> If I want to serve web pages encoded in UTF-8, I should set these two
> variables :
> (setf hunchentoot:*default-content-type* "text/html; charset=UTF-8")
> (setf hunchentoot:*hunchentoot-default-external-format*
> hunchentoot::+utf-8+)
>
> Am I correct ?
> Is it ok to use an internal symbol (+utf-8+) or is there another way ?
>
> Thanks,
>
> --
> Thibault Langlois
> FCUL / DI
>
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>




More information about the Tbnl-devel mailing list