Drag text from the html or word to the wine application to display garbled characters.
Signed-off-by: Chao Long longchao@uniontech.com --- dlls/winex11.drv/clipboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/clipboard.c b/dlls/winex11.drv/clipboard.c index a13d0a55b76..5148e4cc5ec 100644 --- a/dlls/winex11.drv/clipboard.c +++ b/dlls/winex11.drv/clipboard.c @@ -157,8 +157,8 @@ static const struct { { 0, CF_UNICODETEXT, XATOM_UTF8_STRING, import_utf8_string, export_utf8_string }, { 0, CF_UNICODETEXT, XATOM_COMPOUND_TEXT, import_compound_text, export_compound_text }, - { 0, CF_UNICODETEXT, XA_STRING, import_string, export_string }, - { 0, CF_UNICODETEXT, XATOM_text_plain, import_string, export_string }, + { 0, CF_UNICODETEXT, XA_STRING, import_utf8_string, export_utf8_string }, + { 0, CF_UNICODETEXT, XATOM_text_plain, import_utf8_string, export_utf8_string }, { 0, CF_UNICODETEXT, XATOM_TEXT, import_text, export_text }, { 0, CF_SYLK, XATOM_WCF_SYLK, import_data, export_data }, { 0, CF_DIF, XATOM_WCF_DIF, import_data, export_data },