#6650: sqlreset should encode UTF-8 back
-------------------------+--------------------------------------------------
   Reporter:  farcaller  |                Owner:  nobody         
     Status:  new        |            Component:  django-admin.py
    Version:  SVN        |           Resolution:                 
   Keywords:             |                Stage:  Unreviewed     
  Has_patch:  1          |           Needs_docs:  0              
Needs_tests:  0          |   Needs_better_patch:  0              
-------------------------+--------------------------------------------------
Changes (by farcaller):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Currently the problem looks like:
 {{{
 $ ./manage.py sqlreset news|sqlite3 db/db.sqlite
 Traceback (most recent call last):
   File "./manage.py", line 11, in <module>
     execute_manager(settings)
   File "/usr/lib/python2.5/site-
 packages/django/core/management/__init__.py", line 272, in execute_manager
     utility.execute()
   File "/usr/lib/python2.5/site-
 packages/django/core/management/__init__.py", line 219, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
   File "/usr/lib/python2.5/site-packages/django/core/management/base.py",
 line 72, in run_from_argv
     self.execute(*args, **options.__dict__)
   File "/usr/lib/python2.5/site-packages/django/core/management/base.py",
 line 93, in execute
     print output
 UnicodeEncodeError: 'ascii' codec can't encode characters in position
 779-785: ordinal not in range(128)
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6650#comment:1>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to