Skip to content
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

croaks with italian accented letters #17

Open
loreb opened this issue Nov 6, 2016 · 0 comments
Open

croaks with italian accented letters #17

loreb opened this issue Nov 6, 2016 · 0 comments

Comments

@loreb
Copy link

loreb commented Nov 6, 2016

I get the same issue as https://bitbucket.org/sjl/t/issues/3/no-cyrillic-support in italian (utf8 locale), but it works just fine if I invoke t.py using python3
eg:

t è

As ugly as it is, trying hashlib.sha1(text) to accomodate python2 and falling back to hashlib.sha1(text.encode('utf-8')) for python3 works_for_me (tm)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant