[Zope-CMF] [CMF 2.1] FSPageTemplate & Unicode

Andreas Jung lists at andreas-jung.com
Tue Dec 19 03:45:10 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On 19. Dezember 2006 09:34:13 +0100 Jens Vagelpohl <jens at dataflake.org> 
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On 18 Dec 2006, at 13:52, Andreas Jung wrote:
>> What has to be done:
>>
>>  - FSPageTemplate._readFile() should convert 'data' to unicode and
>>    pass it to pt_edit() instead of using write()
>>
>>  - a filesystem-based PT should be able to specify its encoding
>>    through the .metafile like
>>
>>    [default]
>>    encoding=utf-8
>>
>>    For XML files the encoding is determines by the XML preamble
>>    and for HTML file we are able to check for the 'charset'
>>    inside <meta http-equiv="content-type" ...> tag (if available)
>>
>> What do you think about this idea?
>
> Are you saying you'd help with patches? I'm swamped right now and don't
> think I can look at it.

Jup. However I am not completely sure about all impacts :-)

Andreas

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFh6aXCJIWIbr9KYwRAn8bAKDIQ5sUw8j7IbQMV7JRZeiXAdHGRQCfUr8K
/ARKDtZHRtdywPqBBo7qFlU=
=fjpK
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list