#3396: test_client unittest fails under python 2.3
-------------------------------------------------+--------------------------
   Reporter:  Robert Myers <[EMAIL PROTECTED]>  |                Owner:  adrian 
         
     Status:  new                                |            Component:  Unit 
test system
    Version:  SVN                                |           Resolution:        
          
   Keywords:                                     |                Stage:  
Accepted        
  Has_patch:  1                                  |           Needs_docs:  0     
          
Needs_tests:  0                                  |   Needs_better_patch:  1     
          
-------------------------------------------------+--------------------------
Comment (by Robert Myers <[EMAIL PROTECTED]>):

 That error is a config issue, in python 2.3 the default encoding is
 'ascii'
 
 edit your /usr/lib/python2.3/site.py or where ever you python lib lives
 and change this line
 
 {{{
 #!diff
 -encoding = "ascii" # Default value set by _PyUnicode_Init()
 +encoding = "UTF-8" # Default value set by _PyUnicode_Init()
 }}}
 
 That will fix the unicode error you are seeing.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3396#comment:6>
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