Hi!

My problem is that:

1.)

I used modpy before pylon, and I have many template that use
iso-8859-2 characterset.

When I try to render some of them I got this errormessage:
Error(UnicodeDecodeError): 'ascii' codec can't decode byte 0xc3 in
position 51: ordinal not in range(128)
File:   c:\python24\lib\site-packages\myghty-1.1-py2.4.egg\myghty
\requestbuffer.py line 367
Context:        364:         """
365:         if text is None:
366:             return
367:         self._top.write(unicode(text))
368:
369: class StrRequestBuffer(_RequestBuffer):
370:

How to I force myt to it use iso-8859-2 charset?
Or I need to convert these sources to encode ansi chars to safe html
codes?

2.)
How to I encode normal text to html?
Example: my pagetitles?
% ToHTML(c.PageTitle) %

Thanks for your help:
dd


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to