Re: UTF-8 'BOM'

From: Marcin 'Qrczak' Kowalczyk (
Date: Thu Jan 20 2005 - 17:18:15 CST

  • Next message: Kenneth Whistler: "BOM Bogle Bombination"

    Lars Kristan <> writes:

    > * On UNIX, fopen is always binary, text mode is rare and even then
    > very close to binary.
    > * On UNIX, text mode often doesn't apply, so UNIX is by default in
    > binary mode.

    Formally, the text/binary mode distinction for stdio is specified in
    the C standard, with the default being the text mode.

    For any POSIX-conforming C implementation the text and binary modes
    are identical though.

    When C was born together with Unix, it did not have the distinction
    of course. I don't know when it got added.

       __("<         Marcin Kowalczyk

    This archive was generated by hypermail 2.1.5 : Thu Jan 20 2005 - 17:21:49 CST