From owner-freebsd-doc Sun Apr 23 14:53: 2 2000 Delivered-To: freebsd-doc@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 3178D37B9E1 for ; Sun, 23 Apr 2000 14:52:59 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id OAA10054; Sun, 23 Apr 2000 14:51:57 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <3903707D.D3D7019D@gorean.org> Date: Sun, 23 Apr 2000 14:51:57 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0422 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Brown Cc: "'freebsd-doc@FreeBSD.ORG'" Subject: Re: autodection of encoding vs freebsd.org's docs References: <8D96EDA0AC04D31197B400A0C96C1480F705BE@ossex1.ossinc.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Brown wrote: > > I have my browser (IE 5.0) set to autodetect encodings of documents, which > seems like a sensible thing to do. Only if you regularly view web pages that have different encodings, and you are equipped to view them properly. > The HTML documents on the freebsd.org site tend to fail to have any encoding > declarations in the HTTP headers (Content-Type: text/html;charset=foo) or in > the document HEAD ( content="text/html;charset=foo">). The web pages should have an ISO encoding stated explicitly in any case. That's the most recent "best practice," related both to the growing internationalization (a good thing, don't get me wrong) and to help combat the cross-domain CGI security problem that was highlighted by CERT recently. The proper format is: Foo Obviously the other charsets for the translated documents should specify their appropriate encoding. (Indenting is of course, optional.) HTH, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message