Bug 76507 [Encoding] properties dialog show BOM when there is no BOM
n20041017 The properties dialog for a file will say: Byte Order Mark is ... whenever the encoding for a file is determined from its contents (regardless a BOM was found or not). Test case: check with any *.properties files - it will say the file has a ISO 8859-1 BOM, which cannot true.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDEEncoding.java
* @return List
	 */
	private static List getIDEEncodingsPreference() {
		
		boolean updateRequired = false;
		
		String encodings = IDEWorkbenchPlugin.getDefault().getPreferenceStore().getString(
				IDE_ENCODINGS_PREFERENCE);
		if (encodings == null || encodings.length() == 0)
			return new ArrayList();
		String[] preferenceEncodings = encodings.split(PREFERENCE_SEPARATOR);
		ArrayList result = new ArrayList();
		
		for (int i = 0; i < preferenceEncodings.length; i++) {
			String string = preferenceEncodings[i];
			if (Charset.isSupported(string))
				result.add(string);
			else{
				WorkbenchPlugin.log(WorkbenchMessages.format("WorkbenchEncoding.invalidCharset", 
						new String[] { string }));
				updateRequired = true;
			}
				
		}
		
		if(updateRequired)
			writeEncodingsPreference(null, result);
		return result;
	}
	/**