Sorting a List of Lists

2007-01-30 Thread apotheos
I can't seem to get this nailed down and I thought I'd toss it out there as, by gosh, its got to be something simple I'm missing. I have two different database tables of events that use different schemas. I am using python to collate these records for display. I do this by creating a list of li

Text Encoding - Like Wrestling Oiled Pigs

2006-12-08 Thread apotheos
So I've got a problem. I've got a database of information that is encoded in Windows/CP1252. What I want to do is dump this to a UTF-8 encoded text file (a RSS feed). While the overall problem seems to be related to the conversion, the only error I'm getting is a "UnicodeDecodeError: 'ascii' cod