in reply to XML, Unicode, and Internet Explorer
To get a utf8 version of the BOM at the beginning of an xml file, you could just do something like this (assuming a bourne-style shell and a unix-like "cat" command):
perl -CS 'print "\x{feff}"' | cat - somefile.xml > bomfile.xml
|
|---|