Hi everyone!
I've posted https://github.com/mhammond/pywin32/issues/2061 with full info
about the bug.
It uses the program listed at
https://stackoverflow.com/questions/76175244/how-to-put-formatted-text-on-clipboard-with-python-and-avoid-conflict-with-ditto
I think the critical line is this:
win32clipboard.SetClipboardData(self.GetCfHtml(), src.encode('utf-8'))
The data is obtained from stdin and is already in UTF8
_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32