On 02/06/2012 04:59 PM, Hugo Ramos wrote:
Is there any tool I can use to convert all objects in my data.fs to utf-8?
I had unicode related problems which usually come from mixing different encodings. In my case pretty much all my data also comes from a relational database. Also, not all versions of Zope support unicode properly for all types of objects. I had problems trying to upgrade my data.fs between zope versions due to unicode issues. I don't recall all the situations I came through and I can't help you much more here.
So, I guess your issue is that your page templates are combining data from other zope objects which are in different encoding. I doubt that you can convert all your objects to the same encoding as a general rule because that will be dependent on the specific object implementation. Even if you convert the data part of the objects, the code might still not work properly. But I don't know which type of objects you are talking about. Maybe one approach would be to export your data.fs as a whole or in parts using XML format and then try to make sure its encoding is utf-8.
Just vague considerations and a long shot, sorry if it doesn't help. Regards, Fernando _______________________________________________ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )