--On 16. Juni 2006 13:39:03 +0200 Tino Wildenhain <[EMAIL PROTECTED]> wrote:


item.manage_changeProperties({'title':'Hustype'})       gives utf-8.
item.manage_changeProperties(title='Hustype')           leaves ISO-8859-1 
intact.

WTF is that?

My guess would be the dict-argument is used in place of
REQUEST and therefore sets some default encoding in
request - which it certainly acquires.

'Hustype' is pure ASCII...this will *always* have the same encoding in almost all encodings (except in Klingon).

-aj

Attachment: pgpNWAJ5Eutx5.pgp
Description: PGP signature

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to