<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Re: [Seaside] Swazoo - Improper store into indexable object</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Point is, the fixes I made are in the glue code, not even seaside, and ones I didn't want to spend time on but kind of had to. I had no such problems on wtk version and that's all I'm saying as far as basic comparison goes. Also, the virtual sites caused me more grief than I wanted as I couldn't find a way to listen on all interfaces like I could with tiny. Again, I was told that it was a useful feature even though I know it wasn't for me. I ended up with an ugly deployment hack there that sets up sites on all local interfaces that I can discover, something I would not have to do with a simpler wildcard broker in front. Please don't take it personally, but if you want swazoo to be a server of choice for seaside, these kinds of things would need to be accounted for, not simply dismissed IMHO.<BR>
<BR>
Cheers!<BR>
<BR>
-Boris<BR>
(Sent from a BlackBerry)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
To: Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<BR>
Sent: Wed Jul 25 01:30:47 2007<BR>
Subject: Re: [Seaside] Swazoo - Improper store into indexable object<BR>
<BR>
Hi Boris,<BR>
<BR>
Boris Popov wrote:<BR>
&gt; Together with other fixes I put in to support UTF8 via Swazoo the following seems to do the trick,<BR>
&gt;<BR>
&gt; HTTPResponse&gt;&gt;entity: anEntity<BR>
&gt;&nbsp; entity := anEntity isString<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ifTrue: [anEntity asByteArrayEncoding: #utf8]<BR>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ifFalse: [anEntity asByteArray].<BR>
&gt;<BR>
&gt; Any plans to include support for UTF8 out of the box? I've heard the whole &quot;Swazoo is just a server,<BR>
&gt; its up to you to figure out encodings&quot;, but not quite buying it personally having spent some time<BR>
&nbsp;&gt; hacking it to work ;)<BR>
<BR>
You heard well and I still argue that utf8 is a duty of web framework,<BR>
because it knows better when to convert strings and when not. That<BR>
specially true on the input side. Swazoo just server content as it been<BR>
pure binary. Not doing utf8 is therefore an inefficiency of Seaside, not<BR>
Swazoo, IMHO. And as you actually did already, it is simple to add that<BR>
on output side. Just that you need to do similar on input side too,<BR>
which is a bit more demanding.<BR>
<BR>
Best regards<BR>
JAnko<BR>
<BR>
<BR>
<BR>
--<BR>
Janko MivÅ¡ek<BR>
AIDA/Web<BR>
Smalltalk Web Application Server<BR>
<A HREF="http://www.aidaweb.si">http://www.aidaweb.si</A><BR>
_______________________________________________<BR>
Seaside mailing list<BR>
Seaside@lists.squeakfoundation.org<BR>
<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
</FONT>
</P>

</BODY>
</HTML>