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
} catch (MissingResourceException x) {
			}
		}
		return dfltValue;
	}
	
	static String getString(ResourceBundle bundle, String key) {
		return getString(bundle, key, key);
	}
	
	static int getInteger(ResourceBundle bundle, String key, int dfltValue) {
		
		if (bundle != null) {
			try {
				String s= bundle.getString(key);
				if (s != null)
					return Integer.parseInt(s);
			} catch (NumberFormatException x) {
			} catch (MissingResourceException x) {
			}
		}
		return dfltValue;
	}
	static ImageDescriptor getImageDescriptor(int type) {
		switch (type) {			
		case IMember.INITIALIZER:
		case IMember.METHOD:
			return getImageDescriptor("obj16/compare_method.gif"); 			
		case IMember.FIELD:
			return getImageDescriptor("obj16/compare_field.gif");