-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unicode Decode Errors #1
Comments
I had these problems too, I think changing the code to this may help you:
But actually it is strange that we have to encode the path back to utf-8 (after storing in in utf-8). I think there has to be a better solution than to convert everything back and forth (collations?). |
According to [0] the default type of text in a sqlite db ist unicode in python. I thought this should be enough. But apperantly it isn't. Maybe the "utf-8" part is missing. I don't know enough about encoding to be able to judge that. I will test your suggestion (and do further reading of [0]) as soon as I find time. Thx for your help! [0] http://docs.python.org/library/sqlite3.html#introduction |
Using python3 solved some problems. The current one appears when writing to the database (on an openBSD machine):
|
I still have Unicode Decode Errors when there are non-ascii characters in filenames.
The text was updated successfully, but these errors were encountered: