Bug 76453 [Encodings] Open properties fills log with encoding messages
I20041013 Every time I open the properties for a file it writes the following entries to .log (and also messages to the console): !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.328 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.328 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.338 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.338 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.338 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.348 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.348 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.358 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.358 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.358 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.368 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.368 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.378 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.378 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.388 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.388 !MESSAGE null is not a valid charset. !ENTRY org.eclipse.ui 4 4 Okt 18, 2004 10:21:41.388 !MESSAGE null is not a valid charset.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDEEncoding.java
}
	/**
	 * Get the value of the encodings preference.
	 * 
	 * @return List
	 */
	private static List getIDEEncodingsPreference() {
		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 }));				
		}
		return result;
		
	}
	/**
	 * Clear the IDE encodings preference.
	 */
	public static void clearUserEncodings() {