Le vendredi 11 mai 2007 à 10:09 +0000, asm a écrit : > Thank you kindly. > > > You can look here: > > http://turboblog.devjavu.com/projects/turboblog/browser/trunk/turbobl... > > Lines 310 to 318 are informative and helpful. > > Unfortunately I am now hitting Unicode encoding exceptions.
I after the operation between lines 310 to 318 the content is a Unicode object. At what time do you get errors ? Is it possible to send some sample ? You may be trying to manipulate the Unicode object as a simple string, which it is not really ;) Unicode support in python can be though to understand in the beginning, but once you grab the meaning, it is becomes really easy and sooo logical. The python Unicode support has been despised by many in the forums but don't get fooled by these whiners :) they just didn't get it and then tried to convince the world that is was python's fault :p Krys Wilken who is also a TurboGears user, blogged sometime ago on his personal blog about the Unicode support in Python. I liked his point of view: http://krys.ca/entry/58/ (the site seems down right now but I'm sure it will come back on-line) Fredrik Lundh (ElementTree author to say the least) also posted some interesting observations on Unicode usage with python on his web site: http://effbot.org/zone/unicode-objects.htm I am sure you'll find a lot of other interesting readings all over the world wide web :) Cheers, Florent Aide. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

