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
private static String IDE_ENCODINGS_PREFERENCE = "IDE_ENCODINGS_PREFERENCE"; 
	private static String PREFERENCE_SEPARATOR = "'"; 
	/**
	 * Display constant for the UTF 8 byte order marker for resources.
	 */
	public static String BOM_UTF_8 = "UTF-8 (BOM)";
	/**
	 * Display constant for the UTF 16 big endian byte order marker for
	 * resources.
	 */
	public static String BOM_UTF_16BE = "UTF-16 Big-Endian (BOM)";
	/**
	 * Display constant for the UTF 16 little endian byte order marker for
	 * resources.
	 */
	public static String BOM_UTF_16LE = "UTF-16 Little-Endian (BOM)";
	/**
	 * Get all of the available encodings including any that were saved as a
	 * preference in the IDE or in core resources.
	 * 
	 * @return List of String
	 */
	public static List getIDEEncodings() {
		List encodings = getIDEEncodingsPreference();
		encodings.addAll(WorkbenchEncoding.getDefinedEncodings());
		String enc = getResourceEncoding();
		if (!(enc == null || encodings.contains(enc)))