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. I found a page that clarifies it a bit but it doesn't seem to provide a clear answer as to how to solve the problem. https://lists.ubuntu.com/archives/bazaar/2006q4/019418.html Any idea as to why i suddenly got that error and is there another way to solve it (not using str)? Regards, Benedict --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---