Benedict Verheyen skrev: > Hi, > > a while back i updated my python isntall to version 2.5.1. on a Windows > 2000 server. It also runs Apache 2.2 & mod_python for Django. > Since the python upgrade, i got this "unknown encoding cp0" error. > > I hadn't changed anything to the code. The errors always occured on > print commands. I found a workaround by adding str() > Thus > print "Blabla %s " % self.blabla > had to be changed to > print "Blabla %s " % str(self.blabla) > in order to solve the problem. > What is "self" referring to? Can you give us a stack trace? And which version of Django are you running (it is especially important to know if it is before or after the unicode branch got merged).
Nis --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---