Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CMF

Improve encoding/charset detection for FSPageTemplate

 

 

Zope cmf RSS feed   Index | Next | Previous | View Threaded


jens at dataflake

May 17, 2009, 2:26 AM

Post #1 of 2 (316 views)
Permalink
Improve encoding/charset detection for FSPageTemplate

-----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-----
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


charlie at begeistert

May 17, 2009, 2:44 AM

Post #2 of 2 (288 views)
Permalink
Re: Improve encoding/charset detection for FSPageTemplate [In reply to]

Am 17.05.2009 um 11:26 schrieb Jens Vagelpohl:

> 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.

+1 especially any attempt to autodetect UTF-8

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226



_______________________________________________
Zope-CMF maillist - Zope-CMF[at]lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Zope cmf RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.