Traceback (most recent call last): File "manage.py", line 11, in ? execute_manager(settings) File "/home/58124/data/python/django/django/core/management/ __init__.py", line 362, in execute_manager utility.execute() File "/home/58124/data/python/django/django/core/management/ __init__.py", line 303, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/58124/data/python/django/django/core/management/ base.py", line 195, in run_from_argv self.execute(*args, **options.__dict__) File "/home/58124/data/python/django/django/core/management/ base.py", line 222, in execute output = self.handle(*args, **options) File "/home/58124/containers/django/contest/apps/entries/management/ commands/grabentries.py", line 73, in handle print '[%s] Saved - Entry "%s"' % (datetime.now(), entry.title) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 56: ordinal not in range(128)
Is there any way to insure that this error does not occur? Do I need to do some sort of unicode conversion with Django? --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---