I have the following script however when the clipboard contents are greek 
letters it fails to print them right.
I have used all posible encoding for greek letters including utf8 but to no 
avail so i just stay with latin1.

Can you suggest a solution?

Here is the script:

import win32clipboard
win32clipboard.OpenClipboard()
data = win32clipboard.GetClipboardData()
win32clipboard.CloseClipboard()
data = data.decode('latin1')
send = 'ccc|=:='+data
print data
print send 

The following script is running from eventghost programm.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to