<font face="courier new,monospace"><b><br></b></font><br><div class="gmail_quote">On Wed, Jun 15, 2011 at 7:41 AM, Jan Tolenaar <span dir="ltr"><<a href="mailto:jan.tolenaar@xs4all.nl">jan.tolenaar@xs4all.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
<br>
On 15/06/2011 00:27, Thibault Langlois wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
*Hi,<div><div></div><div class="h5"><br>
<br>
If I want to serve web pages encoded in UTF-8, I should set these two variables :<br>
(setf hunchentoot:*default-content-type* "text/html; charset=UTF-8")<br>
(setf hunchentoot:*hunchentoot-default-external-format* hunchentoot::+utf-8+)<br>
<br>
Am I correct ?<br>
Is it ok to use an internal symbol (+utf-8+) or is there another way ?<br>
<br>
Thanks,<br>
*<br>
-- <br>
Thibault Langlois<br>
FCUL / DI<br>
<br>
<br></div></div>
_______________________________________________<br>
tbnl-devel site list<br>
<a href="mailto:tbnl-devel@common-lisp.net" target="_blank">tbnl-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/mailman/listinfo/tbnl-devel" target="_blank">http://common-lisp.net/mailman/listinfo/tbnl-devel</a><br>
</blockquote>
<br>
You should also set the charset property in your <form> elements to "utf-8". Also be aware of the default encoding of your database.<br>
<br></blockquote><div><br>I hadded accept-charset="UTF-8". Thanks for the tip.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
--<br>
Jan Tolenaar<br>
<br>
<br>
<br>
_______________________________________________<br>
tbnl-devel site list<br>
<a href="mailto:tbnl-devel@common-lisp.net" target="_blank">tbnl-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/mailman/listinfo/tbnl-devel" target="_blank">http://common-lisp.net/mailman/listinfo/tbnl-devel</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Thibault Langlois<br>FCUL / DI<br>