[drakma-devel] utf-8 question

Ross Jekel ross at sourcelabs.com
Sun Sep 30 17:40:24 UTC 2007


Okay, I tracked down my problem.

I'm using Allegro CL in case-sensitive modern mode (the default). There are several places in chunga and drakma that might do something like (intern (string-upper somevalue) :keyword) making uppercase symbols such as :CONTENT-TYPE for headers or :UTF-8 for encoding types. If there is any code that compares against the lower-case symbol (such as :content-type in get-content-type in drakma/read.lisp), the match fails.

I guess I haven't had a need for case-sensitivity, so it is probably more trouble than it is worth to have it on.

Ross
----- Original Message -----
From: "Ross Jekel" <ross at sourcelabs.com>
To: "General interest list for Drakma and Chunga" <drakma-devel at common-lisp.net>
Sent: Saturday, September 29, 2007 4:52:28 PM (GMT-0800) America/Los_Angeles
Subject: Re: [drakma-devel] utf-8 question

Sorry for typing your name wrong... and thanks for trying this. I'll debug it on Linux here when I get a chance. Was gone most of the day.

Here's my asdf directory which I think has the latest of everything.

drwxr-xr-x 5 ross ross 4096 2007-08-14 07:33 asdf-install
lrwxrwxrwx 1 ross ross   42 2007-09-28 22:13 asdf-install.asd -> asdf-install/asdf-install/asdf-install.asd
drwxr-xr-x 3 ross ross 4096 2007-09-28 21:44 chunga-0.4.0
lrwxrwxrwx 1 ross ross   23 2007-09-28 22:14 chunga.asd -> chunga-0.4.0/chunga.asd
drwxr-xr-x 2 ross ross 4096 2007-09-28 21:41 cl-base64-3.3.2
lrwxrwxrwx 1 ross ross   29 2007-09-28 22:14 cl-base64.asd -> cl-base64-3.3.2/cl-base64.asd
drwxr-xr-x 3 ross ross 4096 2007-09-14 12:15 cl-log
lrwxrwxrwx 1 ross ross   18 2007-09-28 22:14 cl-log.asd -> cl-log/cl-log.asdf
drwxr-xr-x 3 ross ross 4096 2007-09-24 13:36 cl-utilities-1.2.4
lrwxrwxrwx 1 ross ross   35 2007-09-28 22:14 cl-utilities.asd -> cl-utilities-1.2.4/cl-utilities.asd
drwxr-xr-x 3 ross ross 4096 2007-09-29 00:01 drakma-0.10.1
lrwxrwxrwx 1 ross ross   24 2007-09-28 22:14 drakma.asd -> drakma-0.10.1/drakma.asd
drwxr-xr-x 4 ross ross 4096 2007-09-29 16:50 flexi-streams-0.13.0
lrwxrwxrwx 1 ross ross   38 2007-09-28 22:15 flexi-streams.asd -> flexi-streams-0.13.0/flexi-streams.asd
drwxr-xr-x 2 ross ross 4096 2007-09-28 21:44 puri-1.5.1
lrwxrwxrwx 1 ross ross   19 2007-09-28 22:15 puri.asd -> puri-1.5.1/puri.asd
drwxr-xr-x 3 ross ross 4096 2007-09-28 21:49 trivial-gray-streams-2006-09-16
lrwxrwxrwx 1 ross ross   56 2007-09-28 22:15 trivial-gray-streams.asd -> trivial-gray-streams-2006-09-16/trivial-gray-streams.asd
drwxr-xr-x 6 ross ross 4096 2007-09-28 21:42 usocket-0.3.5
lrwxrwxrwx 1 ross ross   25 2007-09-28 22:16 usocket.asd -> usocket-0.3.5/usocket.asd
drwxr-xr-x 2 ross ross 4096 2007-09-14 12:21 xml-emitter-1.0.2
lrwxrwxrwx 1 ross ross   33 2007-09-28 22:16 xml-emitter.asd -> xml-emitter-1.0.2/xml-emitter.asd

Thanks,
Ross

----- Original Message -----
From: "Edi Weitz" <edi at agharta.de>
To: "General interest list for Drakma and Chunga" <drakma-devel at common-lisp.net>
Sent: Saturday, September 29, 2007 12:55:33 PM (GMT-0800) America/Los_Angeles
Subject: Re: [drakma-devel] utf-8 question

On Sat, 29 Sep 2007 09:21:50 -0700 (PDT), Ross Jekel <ross at sourcelabs.com> wrote:

> Thanks for your help, Eli.

Edi...

> Here's what I get. I'll try to debug this as well a bit later today.

I also just tried with Allegro CL 8.1 (but I only have it on Windows).
Works fine for me.  Could you check if you're using the newest
versions of all the dependencies, specifically of Chunga and
FLEXI-STREAMS?
_______________________________________________
drakma-devel mailing list
drakma-devel at common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel

_______________________________________________
drakma-devel mailing list
drakma-devel at common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel




More information about the Drakma-devel mailing list