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 in function __escape_extensible_value #24
Comments
thanks for #25. |
sure |
Do you plan to publish a new release to pypi ? |
I'll in a week, not before :)
|
ok thanks |
To reproduce the bug, use a unicode string
event = GAEvent(category='category', action='action', label=u'éàè')
tracker.track_event(event, session, visitor)
Maybe we should replace
''.join(map(_translate, str(value)))
byu''.join(map(_translate, value)).encode('utf-8')
?Maybe some explanations here:
http://stackoverflow.com/questions/9942594/unicodeencodeerror-ascii-codec-cant-encode-character-u-xa0-in-position-20
The text was updated successfully, but these errors were encountered: