Wiadomość napisana w dniu 2009-07-28, o godz. 21:36, przez cootetom: > Firstly I have characters encoded by MS Word saved into the database > in there encoded form. Retrieving these back from the database is fine > but when I try to use them by generating an RTF or a PDF document then > they display very badly (e.g. “).
This really depends on your pdf or rtf generation routine/library. Does it accept unicode objects? If yes, I'd expect it to require supplying encoding in some way (default setting, configuration). PDF by default uses latin1 encoding and has only latin1 fonts, so generating documents that contain characters from outside latin1 range usually require some additional work to embed these fonts in documents. And to complete the mess, Windows (and Word) does not use latin1 (see: http://effbot.org/zone/unicode-gremlins.htm). -- Artificial intelligence stands no chance against natural stupidity Jarek Zgoda, R&D, Redefine jarek.zg...@redefine.pl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---