Thanks for the tips Florent and Chris. I'm still stuck on one issue in case anyone can help. I have formencode converting the input to unicode before it hits my custom validator. The custom validator runs beautiful soup on the input to make sure that only the permitted tags get through and to close tags properly. The problem I'm getting is that beautiful soup wants to change something like this:
Fri&Sat to Fri &Sat; Formencode seems to handle all the other entities ok through the unicodeString validator. I'm not sure what to do to BeautifulSoup to prevent that and I'm confident enough of my unicode foo to handle it with and re. Maybe tidy would be better here ( as mentioned, thanks guys ) but its server seems to be down. Any tips gratefully appreciated. Thanks Iain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

