Re: Working with encoded values in more recent versions of ZPT

Andreas Jung <[email protected]> Mon, 20 Aug 2007 21:16:51 +0200
Newsgroups gmane.comp.web.zope.page-templates
Message-ID <[email protected]>
--===============0182437204==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="==========2D0A79CE33CD1FBEA408=========="

--==========2D0A79CE33CD1FBEA408==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline



--On 20. August 2007 21:04:34 +0200 Charlie Clark <[email protected]>=20
wrote:

> Am 20.08.2007, 20:53 Uhr, schrieb Dieter Maurer <[email protected]>:
>
>> This is caused by switching in the Zope3 (unicode based) ZPT
>> implementation
>> for Zope 2.10.
>
> Yes, I know the cause and can see it in the tracebacks. It's just a bit
> weird that string formatting works fine but TALES string: expressions
> treat everything as ASCII. So maybe I need to look at the underlying
> implementation of ZPT.
>
>> The new ZPT implementaion required serveral minor releases before
>> it became stable. Maybe, you do not yet have the most current version.
>
> Zope 2.10.3-final. There has been another version since then but the
> changelog makes no reference to ZPT.
>
>> Andreas tried hard to control the inevitable string/unicode integration
>> problems. Maybe, you read the available documentation to find out
>> about your choices.
>
> Have the ZPT docs been updated?


If you think this is a bug, please put it into a unittest (ZPT has
enough related tests which can serve as an example).

Andreas


--==========2D0A79CE33CD1FBEA408==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

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

iD8DBQFGyeijCJIWIbr9KYwRAteiAKCYmYHyvXommx7hzeSdwgtgVtIK7QCdF8rb
GmSDidGFQOa4g53O0sSOl4k=
=yzxR
-----END PGP SIGNATURE-----

--==========2D0A79CE33CD1FBEA408==========--


--===============0182437204==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ZPT mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zpt

--===============0182437204==--