#8910: Unicodedecodeerror with inline models when using speical characers and
python 2.3.4
-------------------------------+--------------------------------------------
Reporter: joshg | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: 1.0
Keywords: python2.3 unicode | Stage: Unreviewed
Has_patch: 0 |
-------------------------------+--------------------------------------------
I am using SVN checkout 8972 of Django with Python 2.3.4 and mod_python .
In one of my models http://dpaste.com/hold/76255/ I have an inline model
named {{{StandardOptionsInline}}}.
When I add special characters like ® (Registered Trademark Symbol) to the
inlined model {{{StandardOptionsInline}}} I get the following error:
{{{UnicodeDecodeError - 'ascii' codec can't decode byte 0xc2 in position
0: ordinal not in range(128) }}} http://dpaste.com/hold/76259/.
However, if I edit the model that the inline model is based off of
{{{StandardOptions}}} directly using the Admin interface, I can add fields
with special characters like ®.
I have found that if I use Python 2.5 and the Django development server
this issue does not occur. My solution will be upgrading to Python 2.5.
Thanks,
Josh
--
Ticket URL: <http://code.djangoproject.com/ticket/8910>
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
-~----------~----~----~----~------~----~------~--~---