You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm from Sweden. In Sweden we use weird letters like åäö. Så when clients are called "Lantmännen" with projects called "Höstkampanj" you run into problems with toggl-cli. This happens when I try to access my company's toggl:
toggl clients
Traceback (most recent call last):
File "toggl.py", line 1181, in
CLI().act()
File "toggl.py", line 989, in act
print(ClientList())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 281: ordinal not in range(128)
I'm not very familiar with python, but this seems to do the trick (line 493):
return s.rstrip().encode('utf-8')
Since I'm no pro at python, nor git, I think it's smarter if someone else solved this issue properly.
The text was updated successfully, but these errors were encountered:
I'm from Sweden. In Sweden we use weird letters like åäö. Så when clients are called "Lantmännen" with projects called "Höstkampanj" you run into problems with toggl-cli. This happens when I try to access my company's toggl:
I'm not very familiar with python, but this seems to do the trick (line 493):
Since I'm no pro at python, nor git, I think it's smarter if someone else solved this issue properly.
The text was updated successfully, but these errors were encountered: