buffer-python
buffer-python copied to clipboard
Convert any data to be posted to buffer api to utf-8 encoding.
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.