Skip to content

Commit 273bc29

Browse files
committed
core:clipboard_pygame is able to paste unicode text
1 parent 6a4d6eb commit 273bc29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kivy/core/clipboard/clipboard_pygame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def init(self):
2929

3030
def get(self, mimetype='text/plain'):
3131
self.init()
32-
return pygame.scrap.get(mimetype)
32+
return pygame.scrap.get(mimetype).encode('utf-8')
3333

3434
def put(self, data, mimetype='text/plain'):
3535
self.init()

0 commit comments

Comments
 (0)