* * On Wed, Jun 15, 2011 at 7:41 AM, Jan Tolenaar jan.tolenaar@xs4all.nlwrote:
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.
I hadded accept-charset="UTF-8". Thanks for the tip.
--
Jan Tolenaar
tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel