Thanks Charley!
It works. But the following message is printed in the ACL Console:
Warning: External-format `:CRLF-1251-BASE' passed to
make-http-client-request filters line endings.
Problems with protocol may occur.
The more appropriate seems to be
(with-http-body (req ent
:external-format :1251-base)
(html "Hello [...]")
--
Dmitri
----- Original Message -----
From: Charles A. Cox <franz.com at cox>
To: <postman.ru at divanov2>
Cc: <cs.berkeley.edu at Allegro-CL>
Sent: Thursday, March 01, 2001 1:41 AM
Subject: Re: [spr23796] AllegroServe publish function - international
characters problem
> > From: "Dmitri Ivanov" <postman.ru at divanov2>
> > Date: Wed, 28 Feb 2001 12:03:14 +0300
> >
> > I try to form a dynamic page in Russian. I modified your examples.cl
as
> > follows: [...]
> >
> > When being viewed in browser (IE 5), I see question marks instead
> > Russian letters.
>
> Thanks for your question. The question-marks appear because the
> Russian characters are not in the Latin-1 character set, which is the
> character set used by default in with-http-body. You can get the
> Russian characters, from the Windows 1251 character set, to appear in
> the browser by overriding the with-http-body default as follows:
>
> [...]
> (with-http-body (req ent
> :external-format :1251)
> (html "Hello [...]")
> [...]
>
> Charley
> ---
> Charles A. Cox, Franz Inc. 1995 University Avenue, Suite 275
> Internet: <franz.com at cox> Berkeley, CA 94704-1072
> WWW:
http://www.franz.com/ Phone: (510) 548-3600; FAX: (510)
548-8253