Use cl-who to create the HTML output, in which a <meta> tag is used to specify UTF8.
From https://github.com/mcandre/doeshunchentootwork/blob/master/doeshunchentootwo... .
(defmacro standard-page ((&key title) &body body) `(cl-who:with-html-output-to-string (*standard-output* nil :prologue t :indent t) (:html :xmlns "http://www.w3.org/1999/xhtml" :xml:lang "en" :lang "en" (:head (:title ,title) (:meta :http-equiv "Content-Type" :content "text/html;charset=utf-8")) (:body :style "text-align: center;"
(:a :href "https://github.com/mcandre/doeshunchentootwork" "GitHub") (:h1 "Does Hunchentoot work?")
,@body))))
Cheers,
Andrew Pennebaker www.yellosoft.us
On Wed, Mar 9, 2011 at 3:19 PM, Haris fbogdanovic@xnet.hr wrote:
Hi.
How to set Hunchentoot encoding to utf-8 ?
Thanks
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel