quick unicode Q

2005-12-14 Thread John Morey
I have a variable that contains a string which may or may not include unicode characters, I understand that I declare a unicode string like this u'whatever' , the question is that when that string is read in from an external source (in this case an id3 tag) how do I make the interpretter understan

NoneType to unicode

2005-12-12 Thread John Morey
My program reads ID3 tags from MP3 files and enters them into a database. I have been testing it on a variety of MP3s, including ones with weird characters in the tags (such as norweigan black metal bands) When this happens it throws the program as they are outside the ascii range, the program cra