[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/ branch for fixing various ZPT issues with encoding and PUT factory

2006-12-17 Thread Andreas Jung
Log message for revision 71560: branch for fixing various ZPT issues with encoding and PUT factory Changed: A Zope/branches/ajung-zpt-encoding-fixes/ -=- Copied: Zope/branches/ajung-zpt-encoding-fixes (from rev 71559, Zope/trunk) ___

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py some more tests for encoding issues

2006-12-17 Thread Andreas Jung
Log message for revision 71561: some more tests for encoding issues Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ the PUT factory now tries to detect the encoding of uploaded contenthe PUT factory now tries to detect t

2006-12-17 Thread Andreas Jung
Log message for revision 71564: the PUT factory now tries to detect the encoding of uploaded contenthe PUT factory now tries to detect the encoding of uploaded contentt Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py U

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/PageTemplateFile.py added workaround where guess_content_type() did not detect text/xml properly

2006-12-17 Thread Andreas Jung
Log message for revision 71567: added workaround where guess_content_type() did not detect text/xml properly (should be fixed in Zope 3) Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/PageTemplateFile.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/PageTemplateFile.py added comment

2006-12-17 Thread Andreas Jung
Log message for revision 71568: added comment Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/PageTemplateFile.py -=- Modified: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/PageTemplateFile.py

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py PUT factory tests

2006-12-17 Thread Andreas Jung
Log message for revision 71569: PUT factory tests Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py -=- Modified: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py set output-encoding for uploaded XML files always to UTF-8

2006-12-17 Thread Andreas Jung
Log message for revision 71570: set output-encoding for uploaded XML files always to UTF-8 Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py sniffEncoding() now returns 'utf-8' for xml and 'iso-8859-15' for html

2006-12-17 Thread Andreas Jung
Log message for revision 71571: sniffEncoding() now returns 'utf-8' for xml and 'iso-8859-15' for html as encoding if the encoding could not be determined from the body text Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py -=-

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py more tests

2006-12-17 Thread Andreas Jung
Log message for revision 71572: more tests Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py -=- Modified: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py add checks for content-type

2006-12-17 Thread Andreas Jung
Log message for revision 71573: add checks for content-type Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ removed 'strict' mode (now using unicode as internal representation) *always*

2006-12-17 Thread Andreas Jung
Log message for revision 71574: removed 'strict' mode (now using unicode as internal representation) *always* Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py U

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py - removed 'encoding' parameter from pt_edit() to restore the original API

2006-12-17 Thread Andreas Jung
Log message for revision 71575: - removed 'encoding' parameter from pt_edit() to restore the original API - moved the encoding detection into pt_edit() to make it available in a single place Changed: U

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py pt_edit() now has an optional 'keep_output_encoding' flag that is

2006-12-17 Thread Andreas Jung
Log message for revision 71576: pt_edit() now has an optional 'keep_output_encoding' flag that is necessary for pt_edit() calls where the encoding should not be changed by sniffing inside the content (used by pt_editAction(), ZMI and by the constructor) Changed: U

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py more tests

2006-12-17 Thread Andreas Jung
Log message for revision 71577: more tests Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py -=- Modified: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/tests/testZopePageTemplate.py

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py fixes

2006-12-17 Thread Andreas Jung
Log message for revision 71578: fixes Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py -=- Modified: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py

[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py some more comments

2006-12-17 Thread Andreas Jung
Log message for revision 71579: some more comments Changed: U Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py -=- Modified: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py