[Zope] manage_changeProperties has strange side effect on response Content-Type.

Gaute Amundsen gaute at div.org
Fri Jun 16 07:31:35 EDT 2006


On Friday 16 June 2006 13:14, Andreas Jung wrote:
> --On 16. Juni 2006 13:05:09 +0200 Gaute Amundsen <gaute at div.org> wrote:
> > item.manage_changeProperties({'title':'Hustype'}) 	gives utf-8.
>
> This makes less sense. You're passing an ASCII string which has the same
> representation in UTF-8..so why should this be a utf-8 string?

You ask me?
I ask you!

(I think the string is rather irrelevant here, It's the form of the agument..)

> > item.manage_changeProperties(title='Hustype')		leaves ISO-8859-1 intact.
>
> see above.
>
> > WTF is that?
>
> Your example is just poor.

It's all there is. Deal with it. (if you like)

> > Now you have been warned :)
>
> Another try?
>
Yes, please do.

G.


More information about the Zope mailing list