Search the web
Sign In
New User? Sign Up
conlang · Constructed Languages
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: Updated webpages...   Message List  
Reply | Forward Message #126335 of 168012 |
On Sat, 1 Jan 2005 20:49:50 +0100, taliesin the storyteller
<taliesin-conlang@...> wrote:
> Demanding that the server (yep, the spec. says so) has to tell/know what
> charsets its files are in is so hare-brained that the mind she boogles
> over and rolls down the hill... (Why this is so is left as an exercise
> to the reader.)

I disagree; please explain why this is so.

For that matter, I also believe that the server should know what
*content type* its files are in and that it should announce this fact
to clients, rather than serving, say, HTML documents, PNG images, and
style sheets all as something generic such as application/octet-stream
(or, worse, text/plain). Why should charset be different?

In my website, the web server determines the content type from the
file extension on the local file system -- and it was pretty easy to
extend that to determine also the charset from the file extension by
naming things e.g. foo.html.utf8 and bar.html.l1 and telling the
server "files named .utf8 are in utf-8; files named .l1 are in
iso-8859-1".

While this is hardly relevant any longer, specifying the charset
inside the file can lead to things such as the "Netscape burp". (It
*can* be useful, though, for people who store the file locally, who
then no longer have a web server to tell them the right charset...
though this could, in theory, be added to the document on saving, just
as a file extension might be changed from, say, .php or .asp or .cgi
to .htm on saving for systems which rely on the file extension to
determine content type.)

Cheers,
--
Philip Newton <philip.newton@...>
Watch the Reply-To!



Sun Jan 2, 2005 6:44 am

philip.newton@...
Send Email Send Email

Forward
Message #126335 of 168012 |
Expand Messages Author Sort by Date

On Sat, 1 Jan 2005 20:49:50 +0100, taliesin the storyteller ... I disagree; please explain why this is so. For that matter, I also believe that the server...
Philip Newton
philip.newton@...
Send Email
Jan 2, 2005
6:45 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help