http://bugs.winehq.org/show_bug.cgi?id=7372
--- Comment #52 from Damjan Jovanovic damjan.jov@gmail.com --- Created attachment 48499 --> http://bugs.winehq.org/attachment.cgi?id=48499 Preliminary patch, try 1
Here's a preliminary patch that should (partially) fix pasting text/html into Wine: * Data starting with the UTF-16LE (Firefox) is converted to UTF-8, all other data is treated as UTF-8 (which is correct for Midori, Konqueror). * The start/end offsets of the entire text is given as both the HTML and the Fragment offsets. This is because using -1 as the HTML offsets, which should be valid, breaks pasting in OpenOffice 1.1.3 running on Wine. This is not entirely correct, as using offsets other than -1 requires a valid HTML document, but fixing pasting in OpenOffice.
Instructions: 1. Apply http://source.winehq.org/patches/data/104455 2. Apply http://source.winehq.org/patches/data/104456 3. Apply this patch 4. Test your apps and report back here
Please test as much as you can.