[Zope-CMF] [CMF 2.1] FSPageTemplate & Unicode
Jens Vagelpohl
jens at dataflake.org
Tue Dec 19 03:34:13 EST 2006
-----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.
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFh6QFRAx5nvEhZLIRAjkSAKCikTIf8Ri2i7VkhfnmFnml1O1dAgCgnxDj
PW9+EVGUKabUnp9L55HAZ/o=
=At8I
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list