Bug 56885 problematic use of platform encoding in CompareResultDialog.CompareElement [JUnit]
M8 org.eclipse.jdt.internal.junit.ui.CompareResultDialog.CompareElement uses platform encoding to encode Unicode string. This may result in data loss if platform encoding doesn't preserve Unicode.
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/CompareResultDialog.java
private InputStream fContent;
	    
	    public CompareElement(String content) {
	        fContent= createInputStream(content);
	    }
	    public String getName() {
	        return "<no name>"; 
	    }
	    public Image getImage() {
	        return null;
	    }
	    public String getType() {
	        return "txt"; 
	    }
	    public InputStream getContents() {