Bug 32932 Restore from local history with UTF16 encoding
Build RC1 - change workbench encoding to UTF16 - create a Java class - add a method - delete method in outliner - open "Restore from local History" - select the deleted method - press "Restore" -> garbage in editor
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaCompareUtilities.java
static int getTabSize() {
		String string= (String) JavaCore.getOptions().get(JavaCore.FORMATTER_TAB_SIZE);
		try {
			int i= Integer.parseInt(string);
			if (i >= 0) {
				return i;
			}
		} catch (NumberFormatException e) {
		}
		return 4;
	}
		
	static String getString(ResourceBundle bundle, String key, String dfltValue) {
		
		if (bundle != null) {
			try {
				return bundle.getString(key);