Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2000 13:14:58 +0300
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Nik Clayton <nik@freebsd.org>
Cc:        doc@freebsd.org, www@freebsd.org, phantom@freebsd.org
Subject:   Re: SGML->HTML: entities translation is broken for non-Latin1 charsets
Message-ID:  <20000306131457.B92757@nagual.pp.ru>
In-Reply-To: <20000306021454.A87062@catkin.nothing-going-on.org>; from nik@freebsd.org on Mon, Mar 06, 2000 at 02:14:55AM %2B0000
References:  <20000304134300.A24194@nagual.pp.ru> <20000306021454.A87062@catkin.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 06, 2000 at 02:14:55AM +0000, Nik Clayton wrote:
> This is done by sgmlnorm.  Last time this issue came up I didn't have a 
> good fix for it either. . .

It seems that Hiroki Sato give us good workaround, so source patching is
not needed for HTMLs processing.

> If you look in jade/style/sdata.h, you'll see an array that lists entity
> numbers to entity names.  This is the root cause of the problem, and a 
> typical line from that file is 
> 
>     { 0x00A9, "copy" },
> 
> which is why "&copy;" becomes "\a9" when a file is processed by sgmlnorm.

This can cause problems with converting to non-HTML formats (TeX, etc.),
but not so urgent as www pages so can be discussed with Jade maintainers
later.

-- 
Andrey A. Chernov
<ache@nagual.pp.ru>
http://nagual.pp.ru/~ache/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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