[Zope-CMF] Improve encoding/charset detection for FSPageTemplate

Jens Vagelpohl jens at dataflake.org
Sun May 17 05:26:52 EDT 2009


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

Hi all,

Continuing the Dieter-inspired fixes, I have created a patch to  
improve the encoding/charset detection for FSPageTemplate objects, and  
replace the current hard-coded Latin-15 fallback with a mechanism used  
by the current ZopePageTemplate code. It uses a list of preferred  
encodings, which can be added to by using an environment variable.

Please take a look at the Launchpad entry I created[1], it contains  
the patch file to quickly see the necessary changes.

If you see a good reason to not merge the changes, please speak up,
either here or via Launchpad issue comment. If no one speaks up, I
will merge the change during the last week of May.

Thanks!

jens

[1] https://bugs.launchpad.net/zope-cmf/+bug/322263


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

iEYEARECAAYFAkoP2FwACgkQRAx5nvEhZLLGeACeOC67PfF6Hxocg6tJhr+WLGe4
9r0Anj2MMVB67XeHTsS8ViLwtTt51FN5
=vgvz
-----END PGP SIGNATURE-----


More information about the Zope-CMF mailing list