Project: JDT
Bug 186188 [spell checking] BOM repeated in user dictionary file if encoding is UTF-16
Reported: 2007-05-09 11:47:55 | Status: verified fixed

HEAD If I set the encoding of the user dictionary file to "UTF-16" and then use quick fix to add words, the file contains a BOM (fe ff) in front of every line. Expected: BOM only at start of file.

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/AbstractSpellDictionary.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/PersistentSpellDictionary.java