perl-unicode

Re: byte order mark

1999-10-05 15:29:02

    Gurusamy> John Dlugosz asked me if Perl will in future support a utf8
    Gurusamy> byte-order-mark in source files.  I'd expect that the shebang
    Gurusamy> line will be rendered useless on most Unix systems if someone
    Gurusamy> did this to a script.  Anyone have any ideas?

In our system, any occurances of 0xFEFF (poorly designed software can
accumulate BOM's) at the beginning of text converted from UTF-8 to UTF-16 are
removed.  The user is given the option of adding a BOM when saving UTF-8 text
because there are apparently some widely available, but poorly designed
programs out there that check for a BOM after converting UTF-8 to UTF-16.
-----------------------------------------------------------------------------
Mark Leisher
Computing Research Lab            The first virtue is to restrain the tongue;
New Mexico State University       he approaches nearest to the gods who knows
Box 30001, Dept. 3CRL             how to be silent, even though he is in the
Las Cruces, NM  88003             right.    -- Cato the Younger (95-46 B.C.E)

<Prev in Thread] Current Thread [Next in Thread>