> > The FFFE is the BOM. The other link > > http://www.ultraedit.com/index.php?name=Forums&file=viewtopic&t=34 > > has instructions on how to remove existing BOM from file. > Hmm. seems > > to me that ulrtaedit is broken with this feature. I will still stay > > with editplus. > > Download the free notepad2 from > http://www.flos-freeware.ch/notepad2.html > > It's just a few kB and handles UTF-8 without BOM just fine. > > See http://wiki.splitbrain.org/wiki:utf8#editing_files Thanks, Notepad2 produces an identical UTF-8 file to UltraEdit-32. The link that Otto sent explains why I thought that UltraEdit-32 adds a BOM even when specified that it shouldn't: "When you open a Unicode file, it is always converted by UltraEdit to UTF-16 LE for editing, independent of the original encoding. So you will see after switching to hex mode always the UTF-16 LE BOM (FF FE)." I tried opening the file in Hexedit and it does not show FF FE. It does not seems like the problem is the encoding of the file, I've attached my test file if you want to check it. /Daniel