pr guidelines, DES's name...

Giorgos Keramidas keramida at ceid.upatras.gr
Fri Nov 5 16:45:13 UTC 2004


On 2004-11-05 21:58, Hiroki Sato <hrs at 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">
> [...]



More information about the freebsd-doc mailing list