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

Andreas Jung lists at zopyx.com
Fri Jun 16 07:14:38 EDT 2006



--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?


> item.manage_changeProperties(title='Hustype')		leaves ISO-8859-1 intact.

see above.

>
> WTF is that?

Your example is just poor.

>
> Now you have been warned :)

Another try?

-aj


-- 
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: info at zopyx.com - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060616/8bff8a05/attachment.bin


More information about the Zope mailing list