[Seaside] Swazoo - Improper store into indexable object

Boris Popov boris at deepcovelabs.com
Tue Jul 24 17:35:53 UTC 2007


Together with other fixes I put in to support UTF8 via Swazoo the following seems to do the trick,

HTTPResponse>>entity: anEntity
 entity := anEntity isString
               ifTrue: [anEntity asByteArrayEncoding: #utf8]
               ifFalse: [anEntity asByteArray].

Any plans to include support for UTF8 out of the box? I've heard the whole "Swazoo is just a server, its up to you to figure out encodings", but not quite buying it personally having spent some time hacking it to work ;)

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Boris Popov
> Sent: Tuesday, July 24, 2007 10:26 AM
> To: Seaside - general discussion
> Subject: [Seaside] Swazoo - Improper store into indexable object
> 
> Swazoo.HTTPResponse ok entity: 'Hello Euro €!'
> 
> ... where euro symbol is 16r20AC, how do I go about returning these?
> 
> Cheers!
> 
> -Boris
> 
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> http://tinyurl.com/r7uw4
> 
> boris at deepcovelabs.com
> 
> CONFIDENTIALITY NOTICE
> 
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> attachments.
> 
> Thank you.



More information about the Seaside mailing list