-
Notifications
You must be signed in to change notification settings - Fork 69
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
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' #24
Comments
That means your editor entered a special character that Python can't handle. Make sure that you are using a plain text editor that isn't inserting unicode characters. I changed my timezone to "Europe/Stockholm" and it worked just fine. |
Thanks for the instructions, I'll make sure to try that then. |
The error has nothing to do with the timezone, but with user's native language... And for a scandinavian, it is not unusual to have a "ô" in their project names or entries (http://www.fileformat.info/info/unicode/char/00F4/index.htm). The problem seems to be that the python script can't handle non-english (= non 7bit ascii) characters at all currently... |
Quickfix: set line 720 to |
Changing the timezone to Europe/Stockholm in .togglrc gives me this error when trying to run toggl.py:
The text was updated successfully, but these errors were encountered: