Silva 1.o / Unicode problem

Clemens Robbenhaar <robbenhaar-WaVJUzJ3u31Wk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Hi Bas,

 [...]
 > I want to include the copyright (c) on a page. I can place it perfectly 
 > with the ZMI in the override.html object. However, when I want ot 
 > display the page I get the following error message:
 [...snip trackbeck, thanks...]

 I have not trried it yet, but I guess the problem is that Zope does not
store the page templates themselves in unicode, but plain strings.

 When trying to mix in content from Silva, which is unicode, it converts
the text in the page template to unicode -- however using the "standard
encoding", which is ascii.

 I am not sure how to work around this in general. In Your case it
should work to use a html-entity (or html-escape, please correct me as I
am not comfortable with the nomenclatura here ...)

 Well, cut it shout: just use &copy; and You should be fine (I hope)

Cheers,
Clemens
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.