Bug 272616 GB18030: 4-byte GB18030 displayed as ? in SWT Clipboard RTFTransfer.
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/clipboard/ClipboardExample.java
data = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
	data.heightHint = data.widthHint = SIZE;
	pasteImageCanvas.setLayoutData(data);
	final Point pasteOrigin = new Point(0, 0);
	final ScrollBar pasteHBar = pasteImageCanvas.getHorizontalBar();
	pasteHBar.setEnabled(false);	
	pasteHBar.addListener(SWT.Selection, new Listener() {
		public void handleEvent(Event e) {
			if (pasteImage[0] != null) {
				int hSelection = pasteHBar.getSelection();
				int destX = -hSelection - pasteOrigin.x;
				Rectangle rect = pasteImage[0].getBounds();
				pasteImageCanvas.scroll(destX, 0, 0, 0, rect.width, rect.height, false);
				pasteOrigin.x = -hSelection;
			}
		}
	});
	final ScrollBar pasteVBar = pasteImageCanvas.getVerticalBar();
	pasteVBar.setEnabled(false);
	pasteVBar.addListener(SWT.Selection, new Listener() {
		public void handleEvent(Event e) {
			if (pasteImage[0] != null) {
				int vSelection = pasteVBar.getSelection();
				int destY = -vSelection - pasteOrigin.y;
				Rectangle rect = pasteImage[0].getBounds();
				pasteImageCanvas.scroll(0, destY, 0, 0, rect.width, rect.height, false);
				pasteOrigin.y = -vSelection;
			}
		}
	});