Re: [OT] Bad Characters from Unicode
Re: [OT] Bad Characters from Unicode
- Subject: Re: [OT] Bad Characters from Unicode
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 3 Oct 2007 09:29:49 -0400
On 10/3/07, Sander Tekelenburg <email@hidden> wrote:
> Nice article. The simplification about meta http-equiv is IMO on the edge
> though:
Well, I think the point isn't that it's often possible to arrange for
a proper header; it's more that there's no standard way of doing it.
The document store behind most web servers is a file system, and file
systems vary widely in the amount and type of metadata they support.
About the only thing you can rely on is that each file has a unique
name (possibly with restrictions such as the old CP/M 8+3). So we
co-opt part of the name to reflect the content type, and that is
pretty standard - e.g. almost any web server in the world will serve
up a file whose name ends in ".txt" with a Content-Type of text/plain.
But that doesn't help with the character encoding. Sure, you can make
a .htaccess file that says "all HTML files in this directory are
UTF-8", but that doesn't help you have different files of the same
type with different encodings, unless you define different file
suffixes for each one. And it also doesn't work if your web server
happens to be IIS or SunOne instead of Apache.
> So far it hasn't been defined what a browser should do in that case
[of conflict between HTTP header and <meta> tag].
Interesting. I thought the current behavior (HTML overrides HTTP) was
defined as correct. Is the W3C also going to address the case of a
three-way mismatch with XHTML and the <?xml?> processing directive?
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden