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
Have you tried to pass the unicode string directly:
cursor.execute("select * from musiclibrary where absolutepath = ?;",(u'namé',))
You will need to add the file encoding at the beginning of the script:
# coding: utf-8