You were correct, it was an issue of the shell I entered the character with. Going into the Django admin section and saving it again stored the correct character. Thanks!
On Jun 28, 12:03 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2008-06-27 at 05:17 -0700,jwpeddlewrote: > > I'm using latest svn with postgres. My db is UTF-8. Django is UTF-8. > > My HTML is UTF-8. > > > When I pull a string that has é in it, it shows up as a little box (or > > a little box with 0082 in it in Firefox 3). If I try to print the > > value to runserver, I get: > > UnicodeEncodeError at /contact/request-info/ > > 'charmap' codec can't encode character u'\x82' in position 2: > > character maps to <undefined> > > > What am I missing? How do I get these characters to display properly? > > The data is broken, so it's not a display question. In UTF-8, small e > with an acute would be 0xc9 0xa9. I don't know what encoding is going to > give you 0x82 for that character (it's not even Microsoft's silly cp1252 > encoding). > > How did the data get into the database in the the first place? That > would seem to be where the problem lies. If you did it all through > Django, please try to create a small example (a few lines of code) that > shows how you can insert this type of data. > > Regards, > Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---