Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Fixed Non-ASCII printable representation in Trend - #249

Merged
bear merged 1 commit into
bear:masterfrom
der-daniel:master
Oct 11, 2015
Merged

Fixed Non-ASCII printable representation in Trend#249
bear merged 1 commit into
bear:masterfrom
der-daniel:master

Conversation

@der-daniel

Copy link
Copy Markdown
Contributor

Hi,

When __repr__ is called on a Trend object, non-ASCII character leads to a UnicodeEncodeError.

When did this bug occur?
I am a German twitter User. The API broke on a Trend with name 'Dinge die Mädchen'. The ä is a non-ASCII character. The full error code was:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 11: ordinal not in range(128)

I am not sure, if this may occur in other method calls. Basically, Non-ASCII characters should be supported, since twitter is used world-wide.

Thanks for the great API.

Cheers
Daniel

When __repr__ is called on a Trend object, non-ASCII character leads to
a UnicodeEncodeError.
@bear

bear commented Oct 11, 2015

Copy link
Copy Markdown
Owner

thanks!

bear added a commit that referenced this pull request Oct 11, 2015
Fixed Non-ASCII printable representation in Trend
@bear
bear merged commit 00d605d into bear:master Oct 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants