[PATCH] Fix Unicode escape string occurring when calling GetClipboardData(CF_TEXT).

Sin-ta Hsiea ibmibmibm.tw at gmail.com
Sat May 1 02:32:46 CDT 2010


When X11's clipboard holds Unicode string like this:
L'\30c6\30b9\30c8\6e2c\8a66'',
GetClipboardData(CF_TEXT) will get data like this:
'\\u30c6\\u30b9\\u30c8\\u6e2c\\u8a66',
because of XA_STRING made X11 escape the data.

Here's a patch that fetch UTF8 string, and convert to local codepage.

Sin-da Hsiea
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-Unicode-escape-string-occurring-when-calling-Get.patch
Type: text/x-patch
Size: 2518 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100501/7dd1c6a5/attachment.bin>


More information about the wine-patches mailing list