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

2006-09-06 Thread yuppie
Hi Jean-François! Doyon, Jean-Francois wrote: +1 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? Florent Guillaume wrote at 2006-9-4 20:38 +0200: I'd say it would be cleaner to let the .metadata

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

2006-09-06 Thread Doyon, Jean-Francois
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 insta

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

2006-09-05 Thread Dieter Maurer
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.)

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

2006-09-04 Thread Florent Guillaume
pe-CMF] Re: .metadata files, latin-1 vs. unicode,and encoding errors Hi Jean-François! Doyon, Jean-Francois wrote: My app started throwing unicode errors, and I've tracked it down to the fact I have accents in .metadata files. This becomes a problem when a unicode string sneaks into the page

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

2006-08-28 Thread Doyon, Jean-Francois
ehalf Of yuppie Sent: August 28, 2006 2:25 PM To: Doyon, Jean-Francois; Zope-CMF List Subject: [Zope-CMF] Re: .metadata files, latin-1 vs. unicode,and encoding errors Hi Jean-François! Doyon, Jean-Francois wrote: > My app started throwing unicode errors, and I've tracked it down to the f

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

2006-08-28 Thread yuppie
Hi Jean-François! Doyon, Jean-Francois wrote: My app started throwing unicode errors, and I've tracked it down to the fact I have accents in .metadata files. This becomes a problem when a unicode string sneaks into the page to be rendered, at which time StringIO.getvalue() bombs. Normally I