I'm having a hard time with page templates using unicode.

Here is a simple example:

- create a page template called dejavu
Encoding is utf-8. Check also your browser character encoding to be set to unicode as well.

- put this into the page template.:
IMPORTANT: Since this discussion is in ASCII, I can't write the correct deja vu string here. When testing please use the correct spelling. See http://en.wikipedia.org/wiki/Dejavu :-)

<span tal:replace="structure python:u'deja vu'"></span>

When I test this template i will not get deja vu but instead garbled characters for e and a.

Why is this ?

- Andreas

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to