Text copied to clipboard will be encoded as unicode. Fixes #150

This commit is contained in:
Manuel Cortez 2017-07-18 19:52:42 -05:00
parent b62f99bc5a
commit 20d4023e58
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,10 @@
## changes in this version
* Fixed incorrect unicode handling when copying tweet to clipboard. ([#150](https://github.com/manuelcortez/TWBlue/issues/150))
## changes in version 0.91
* TWBlue will show an error when trying to open a timeline for a suspended user. ([#128](https://github.com/manuelcortez/TWBlue/issues/128))
* Removed TwUp as service as it no longer exists. ([#112](https://github.com/manuelcortez/TWBlue/issues/112))
* Release audio files after uploading them. ([#130](https://github.com/manuelcortez/TWBlue/issues/130))

View File

@ -29,5 +29,5 @@ def copy(text):
#Copies text to the clipboard.
win32clipboard.OpenClipboard()
win32clipboard.EmptyClipboard()
win32clipboard.SetClipboardText(text)
win32clipboard.SetClipboardText(text, win32clipboard.CF_UNICODETEXT)
win32clipboard.CloseClipboard()