--On 16. Juni 2006 13:42:40 +0200 Andreas Jung <[EMAIL PROTECTED]> wrote:



--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).

Sorry, I was misreading your posting. But to some degree it looks odd..put it in the Zope bugtracker otherwise it will be forgotten!

-aj

Attachment: pgpyt6rsUQgFo.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