Re: Chinese text in HTML page and Byte-Order Mark
In article <MPG.email@example.com>,
Alfred Molon <firstname.lastname@example.org> wrote:
> I've noticed that some pages use <span lang="zh" xml:lang="zh"> to embed
> Chinese text, but even simply embedding Chinese text in a UTF-8 HTML
> page seems to work fine as well, for instance:
> Why then would this language declaration be necessary?
> Another question, the above page validates without errors, but I get the
> Byte-Order Mark found in UTF-8 File.
> The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to
> cause problems for some text editors and older browsers. You may want to
> consider avoiding its use until it is better supported.
> How to remove the Byte-Order Mark?
Open and save it with a decent text editor that doesn't save the BOM.
"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
|All times are GMT. The time now is 03:20 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.