16 Jun
2006
16 Jun
'06
11:14 a.m.
--On 16. Juni 2006 13:05:09 +0200 Gaute Amundsen <gaute@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@zopyx.com - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting