- Timestamp:
- Jun 26, 2007 12:16:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/xclient/clipboard.cpp
r3142 r3287 137 137 /** X11 atom refering to the clipboard utf8 text format: UTF8_STRING */ 138 138 Atom atomUtf8; 139 /** X11 atom refering to the native X11 clipboard text format: COMPOUND_TEXT */ 140 Atom atomCText; 139 141 140 142 /** A list of the X11 formats which we support, mapped to our identifier for them, in the order … … 1157 1159 } 1158 1160 } 1161 } 1162 if (*atomTarget == g_ctx.atomCText) 1163 { 1164 /* We do not support compound text conversion. However, as we are required to do so by 1165 the X11 standards, we return Latin-1 if we are asked to do so anyway. */ 1166 LogRel(("An application on your guest system has asked for clipboard data in COMPOUND_TEXT format. Since VirtualBox does not support this format, international characters will get lost. Please set up your guest applications to use Unicode!\n")); 1167 eFormat = LATIN1; 1159 1168 } 1160 1169 switch (eFormat) … … 1497 1506 "text/plain;charset=ISO-10646-UCS-2", false); 1498 1507 g_ctx.atomUtf8 = XInternAtom(XtDisplay(g_ctx.widget), "UTF_STRING", false); 1508 g_ctx.atomCText = XInternAtom(XtDisplay(g_ctx.widget), "COMPOUND_TEXT", false); 1499 1509 /* And build up the vector of supported formats */ 1500 1510 #ifdef USE_UTF16
Note:
See TracChangeset
for help on using the changeset viewer.