So is there a way of getting that hex back into suitable text?
On Jul 28, 12:06 pm, Jani Tiainen <rede...@gmail.com> wrote: > cootetom kirjoitti: > > > Hello, > > > I'm having some trouble with strange characters that come from MS > > Word. User's are copying text from MS Word, pasting it into a textarea > > on the site. I then save that text into MySQL (table charset is set to > > utf-8). Then later I retrieve that data to create a RTF document then > > an email it to somebody. The problem is that a lot of characters from > > word aren't displaying correctly. > > > Example an " will return \xe2\x80\x93 from the database. What type of > > encoding is that? > > Hex representation of UTF-8 character. > > Except that it can't be quote but punctuation dash.... > > -- > Jani Tiainen --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---