Re: Binary, Conversions, and CGI

1998-05-01 Thread Malcolm Wallace
Alex Jacobson writes: > 1. Generating GIFs > I need to create a CGI script that returns a GIF. The docs are somewhat > unclear about how to do this. > > All the IO operators seem to be about Chars and claim to be unicode. > If they are unicode, does that mean they read 2 bytes at a time of the

Re: Binary, Conversions, and CGI

1998-05-01 Thread Alastair Reid
> All the IO operators seem to be about Chars and claim to be unicode. > If they are unicode, does that mean they read 2 bytes at a time of the > input stream? Unicode support is a figment of the Haskell report's imagination. Hugs and GHC don't support unicode - nor is there any great rush to d

Re: Binary, Conversions, and CGI

1998-05-01 Thread Jeffrey R. Lewis
Alastair Reid wrote: > > 3. CGI startup and HUGS > > Hugs scripts seem to take a very long time to start up. > > Testing with this: > > > main = putStr "content-type: text/html\n\nhello world\n" > > Hugs scripts have a noticeable response delay. > > The equivalent Perl, C, and GHC executables all