core:clipboard_pygame is able to paste unicode text

This commit is contained in:
akshayaurora 2014-12-14 03:30:01 +05:30
parent 6a4d6ebf98
commit 273bc29e59
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class ClipboardPygame(ClipboardBase):
def get(self, mimetype='text/plain'):
self.init()
return pygame.scrap.get(mimetype)
return pygame.scrap.get(mimetype).encode('utf-8')
def put(self, data, mimetype='text/plain'):
self.init()