I\'m currently persisting filenames in a sqlite database for my own purposes. Whenever I try to insert a file that has a special character (like é etc.), it throws the follo
Try to change to this:
cursor.execute("select * from musiclibrary where absolutepath = ?;", [unicode(filename,'utf8')])
In your filename origin not encode with utf8, change utf8 to your encoding.
utf8