[Zope-CMF] Re: .metadata files, latin-1 vs. unicode, and encoding errors

Doyon, Jean-Francois jdoyon at NRCan.gc.ca
Wed Sep 6 09:01:14 EDT 2006


Especially since the FSMetadata class isn't a mix-in so it turns out
getting to the site instance's encoding isn't easy.

Want me to file a bug?


-----Original Message-----
From: zope-cmf-bounces at lists.zope.org
[mailto:zope-cmf-bounces at lists.zope.org] On Behalf Of Dieter Maurer
Sent: September 5, 2006 3:00 PM
To: Florent Guillaume
Cc: Doyon, Jean-Francois; Zope CMF
Subject: Re: [Zope-CMF] Re: .metadata files, latin-1 vs. unicode,and
encoding errors

Florent Guillaume wrote at 2006-9-4 20:38 +0200:
>I'd say it would be cleaner to let the .metadata specify its own 
>encoding, for instance with a # coding: utf-8 at the top, and pasrse 
>that in FSMetadata.

I find this a good suggestions -- but would use the declaration syntax
used also in (e.g.) Python.

Zope-CMF maillist  -  Zope-CMF at lists.zope.org

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

More information about the Zope-CMF mailing list