Several BOMs in the same file

From: Stefan Persson (alsjebegrijptwatikbedoel@yahoo.se)
Date: Sun Mar 23 2003 - 07:14:55 EST

  • Next message: Pim Blokland: "Re: Several BOMs in the same file"

    Hi!

    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



    This archive was generated by hypermail 2.1.5 : Sun Mar 23 2003 - 07:54:23 EST