[EMAIL PROTECTED] <[EMAIL PROTECTED]>:

> Wprint (a postscript filter for Netscape/Mozilla printing output) is
> now, under FreeBSD sending the "fffe" as a valid character because it
> does not expect it.  Although it is easy to just skip it if it is
> present I would like to know if it should be present at all.

U+FEFF is the BOM (Byte Order Mark) or ZERO WIDTH NO-BREAK SPACE. It
can in some circumstances be useful to have this at the beginning of a
file or datastream to distinguish big-endian UTF-16 from little-endian
UTF-16 (and from UTF-8, etc), however, it can also be harmful, so I
don't think iconv should be generating or interpreting BOMs by
default.

Should iconv perhaps have command-line arguments --bom-in and
--bom-out or something similar?

Edmund
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to