From: Jon Hanna (jon@hackcraft.net)
Date: Fri May 21 2004 - 10:40:54 CDT
Quoting Michael Everson <everson@evertype.com>:
> At 15:39 +0100 2004-05-21, Jon Hanna wrote:
>
> >Were the headers correct?
>
> It is plain text.
HTTP has headers separate to the content (the headers come first and the content
comes next). These headers can contain encoding information and other details.
Unfortunately they generally aren't accessible to someone with the rights to
upload to the server through FTP. Hence if you uploaded an *.txt file the
webserver may have correctly determined from the extension that they were of
type text/plain from the extension, but not determined the encoding, so they
would have used the defaul encoding on the server (which really should be utf-8
on www.unicode.org at this stage).
If there are legacy .txt files that would prohibit moving the default to utf-8
then one solution would be to use the extension .u8 to mean text/plain;
charset=utf-8
-- Jon Hanna <http://www.hackcraft.net/> "…it has been truly said that hackers have even more words for equipment failures than Yiddish has for obnoxious people." - jargon.txt
This archive was generated by hypermail 2.1.5 : Fri May 21 2004 - 10:47:21 CDT