Karen, Sorry for the cryptic message.I just start using google groups and django. I was storing email that I received in a database. One of the characters was a mark that could not be coverted for some reason. I found the program decodeh.py and it fixed it for me.
On Apr 7, 1:40 pm, Karen Tracey <[email protected]> wrote: > On Tue, Apr 7, 2009 at 1:29 PM, CrabbyPete <[email protected]> wrote: > > > I am trying to save a message that has a registered trademark > > character in it, like Coke is a registered trademark. > > I get a DjangoDecodeError. How do I prevent this from happening? > > Wild guess: a decode error sounds like you are passing in a bytestring > somewhere, and furthermore one that is not utf-8 encoded, as Django > generally assumes utf-8 encoding for bytestrings. If you'd like a more > educated guess you'll have to supply a few more details of what exactly it > is your code is doing. > > Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---

