Skip to content

Convert any data to be posted to buffer api to utf-8 encoding.#5

Open
kgritesh wants to merge 1 commit intobufferapp:masterfrom
kgritesh:fix_unicode_updates
Open

Convert any data to be posted to buffer api to utf-8 encoding.#5
kgritesh wants to merge 1 commit intobufferapp:masterfrom
kgritesh:fix_unicode_updates

Conversation

@kgritesh
Copy link

By default ascii encoding is used while creating/updating tweets. Hence trying to create an update with unicode characters gives an exception 'UnicodeDecodeError'. By encoding any data that is sent to the buffer api to utf-8, you can now also send text containing unicode characters without any issue.

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

Successfully merging this pull request may close these issues.

1 participant