You are here: Re: Strange characters appearing from includes « HTML « IT news, forums, messages
Re: Strange characters appearing from includes

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация