Re: (Informational only: UTF-8 BOM and the real life)

From: Eli Zaretskii <>
Date: Sat, 28 Jul 2012 19:34:39 +0300

> From: "Doug Ewell" <>
> Cc: "Steven Atreju" <>
> Date: Sat, 28 Jul 2012 09:52:24 -0600
> Almost nobody in the MS world uses the ^Z convention on purpose any
> more; many don't even know about it.

They might not use or even know this, but the C library does. And
since the default open mode for ANSI C functions like fopen and
Posix-like functions like _open is text, failure to open a binary file
with O_BINARY resp. "rb" will cause the read operation to stop on the
first byte whose value is 26.

IOW, you don't need to know about this to be bitten by it.
Received on Sat Jul 28 2012 - 11:40:53 CDT

This archive was generated by hypermail 2.2.0 : Sat Jul 28 2012 - 11:41:19 CDT