yuppie wrote:


As you already mentioned setting default-zpublisher-encoding to 'utf-8' doesn't really work. Just found that DT_Util.join_unicode has 'latin-1' hardcoded, so properties with other encodings are not supported by manage_propertiesForm.

Given that I don't think we have to support other default_zpublisher_encodings than 'latin-1'.

As AJ answered me (http://article.gmane.org/gmane.comp.web.zope.devel/11655), Unicode properties should use the u- types (ustring, utext). So the way to proceed could be:

* document that only iso-8859-1 \inter default_encoding string/text properties are supported

* ensure that the unicode types work (e.g., TarballExportContext.writeDataFile don't accept unicode text)

* change GenericSetup users (CMF, CPS) to use u* when needed (e.g. title, description). Yep, sure :-)


Cheers, Yuppie

yves

_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to