Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 2004 18:45:07 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        simon@FreeBSD.org
Subject:   Re: pr guidelines, DES's name...
Message-ID:  <20041105164507.GA1904@orion.daedalusnetworks.priv>
In-Reply-To: <20041105.215820.32173166.hrs@eos.ocn.ne.jp>
References:  <20041104010028.GX22681@funkthat.com> <20041104095418.GA787@orion.daedalusnetworks.priv> <20041104200223.GO57641@submonkey.net> <20041105.215820.32173166.hrs@eos.ocn.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-11-05 21:58, Hiroki Sato <hrs@FreeBSD.org> wrote:
> I think that does not work properly because the charset in the META tag,
> SP_ENCODING, and doc.langcode can be different from each other.
> For English they are iso-8859-1, iso-8859-1, and en_US.ISO8859-1,
> for Japanese, euc-jp, euc-jp, and ja_JP.eucJP, respectively.
>
> What do you think about the attached patch?  I prefer
> to use l10n.ent for this sort of problems.

I haven't had a chance to test a doc build with this today, but it looks
ok.  It seems a good idea to use l10n.ent :-)

> Index: ja_JP.eucJP/share/sgml/l10n.ent
> ===================================================================
> RCS file: /home/ncvs/doc/ja_JP.eucJP/share/sgml/l10n.ent,v
> retrieving revision 1.2
> diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.2 l10n.ent
> --- ja_JP.eucJP/share/sgml/l10n.ent	26 Jul 2004 15:28:32 -0000	1.2
> +++ ja_JP.eucJP/share/sgml/l10n.ent	5 Nov 2004 11:22:10 -0000
> @@ -10,3 +10,6 @@
>
>  <!ENTITY doc.langcode.ja "ja_JP.eucJP">
>  <!ENTITY doc.langcode    "&doc.langcode.ja;">
> +
> +<!-- charset for HTML output -->
> +<!ENTITY doc.html.charset "euc-jp">
> [...]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041105164507.GA1904>