]> source.dussan.org Git - tigervnc.git/commitdiff
Comment out calls to removeNonAsciiChars. This makes it possible to
authorPeter Åstrand <astrand@cendio.se>
Mon, 27 Jun 2005 11:25:10 +0000 (11:25 +0000)
committerPeter Åstrand <astrand@cendio.se>
Mon, 27 Jun 2005 11:25:10 +0000 (11:25 +0000)
copy-paste non-ascii characters.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@297 3789f03b-4d11-0410-bbf8-ca57d06f2519

rfb_win32/Clipboard.cxx

index 96d1e942e26f409b02a84a2b4c51e9ecabc046a8..867f885d9b8808346668a7ed775c02a7e7f6671a 100644 (file)
@@ -126,7 +126,7 @@ Clipboard::processMessage(UINT msg, WPARAM wParam, LPARAM lParam) {
               } else {
                 CharArray unix_text;
                 unix_text.buf = dos2unix(clipdata);
-                removeNonAsciiChars(unix_text.buf);
+                // removeNonAsciiChars(unix_text.buf);
                 notifier->notifyClipboardChanged(unix_text.buf, strlen(unix_text.buf));
               }
             } else {
@@ -162,7 +162,7 @@ Clipboard::setClipText(const char* text) {
     // - Pre-process the supplied clipboard text into DOS format
     CharArray dos_text;
     dos_text.buf = unix2dos(text);
-    removeNonAsciiChars(dos_text.buf);
+    // removeNonAsciiChars(dos_text.buf); 
     int dos_text_len = strlen(dos_text.buf);
 
     // - Allocate global memory for the data