Posted by Hans-Peter Diettrich on 06/27/07 00:34
BootNic wrote:
> If a include file is saved in UTF-8 with BOM and included in a file
> served as iso-8859-1, one could expect to see the same result.
>
> As Benjamin Niemann suggest, save utf-8 without BOM, as well as the
> document its going to be included in.
As long as a BOM is recognized only at the very begin of an file, it
should be removed while reading *any* file. If required, a new BOM can
be emitted when saving or transmitting the new document.
DoDi
[Back to original message]
|