Let's say that I have two files, namely file1 & file2, in any Unicode encoding, both starting with a BOM, and I compile them into one by using
cat file1 file2 > file3
in Unix or
copy file1 + file2 file3
in MS-DOS, file3 will have the following contents:
BOM contents from file1 BOM contents from file2
Is this in accordance with the Unicode standard, or do I have to remove the second BOM?
Stefan