On 15/06/2011 00:27, Thibault Langlois 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@common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-devel
You should also set the charset property in your <form> elements to "utf-8". Also be aware of the default encoding of your database.
--
Jan Tolenaar
_______________________________________________
tbnl-devel site list
tbnl-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-devel