pr guidelines, DES's name...

Giorgos Keramidas keramida at FreeBSD.org
Thu Nov 4 00:44:36 UTC 2004


On 2004-11-03 22:53, "Simon L. Nielsen" <simon at FreeBSD.org> wrote:
> On 2004.11.03 13:31:53 -0800, John-Mark Gurney wrote:
> > I just happen to notice that Mozilla 1.7.3 doesn't display des's last name
> > properly on:
> > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pr-guidelines/
> >
> > The letter after Sm is not rendered properly..  it appears that you
>
> I think the real problem is that neither the webserver nor the
> document sets the character set.  It should be iso8859-1 and not
> utf-8, as can be seen from the directory name (en_US.ISO8859-1).
>
> I guess the right solution is to insert the proper metatag in the
> headers to force iso8859-1.

That's relatively easy to fix.  Any objections to the following patch to
freebsd.dsl?

%%%
Index: freebsd.dsl
===================================================================
RCS file: /home/ncvs/doc/share/sgml/freebsd.dsl,v
retrieving revision 1.82
diff -u -r1.82 freebsd.dsl
--- freebsd.dsl	30 Aug 2004 09:19:35 -0000	1.82
+++ freebsd.dsl	4 Nov 2004 00:39:13 -0000
@@ -33,6 +33,10 @@
       <!-- HTML only .................................................... -->
       
       <![ %output.html; [
+
+	(define %gentext-language% "en")
+	(define %html-header-tags% '(("META" ("HTTP-EQUIV" "Content-Type") ("CONTENT" "text/html; charset=ISO-8859-1"))))
+
         <!-- Configure the stylesheet using documented variables -->
 
         (define %hyphenation% #f)        <!-- Silence a warning -->
%%%



More information about the freebsd-doc mailing list