[hunchentoot-devel] Encoding question
Edi Weitz
edi at agharta.de
Mon Jan 22 12:39:19 UTC 2007
On Mon, 22 Jan 2007 12:20:35 +0200, "Viljo Marrandi" <viltsik at gmail.com> wrote:
> So I tried to switch everything to UTF-8 (which would be preferred
> anyway). (setq hunchentoot:*hunchentoot-default-external-format*
> :utf-8)
According to the docs the value of this variable should be a flexi
streams external format. ATM it might work with a keyword like
:UTF-8, but there's no guarantee it will continue to work in the
future.
> Localized dates and text from database now displayed correctly, but
> then I couldn't upload binary files from forms, I guess utf-8 and
> binary don't mix well.
Hmm, I just tried (0.5.1 with LWW 5.0.1) and file uploads work fine
for me even if I set the default external format to UTF-8.
What exactly doesn't work for you? Which error message do you get?
Can you provide a small, simple example to reproduce the error? And a
backtrace? Which Lisp and which OS are you using? Are you using the
latest releases of Hunchentoot and the other libraries? Is you
website behind mod_lisp? (You know, all this stuff that usually
belongs to a bug report...)
Cheers,
Edi.
More information about the Tbnl-devel
mailing list