[Pkg-samba-maint] Bug#470844: Bug#470844: encoding issue with spaces in nmblookup(1) synopsis

Steve Langasek vorlon at debian.org
Fri Mar 14 22:03:56 UTC 2008


On Fri, Mar 14, 2008 at 01:12:41PM +0000, Colin Watson wrote:
> The correct groff spelling of non-breaking spaces is '\ ' rather than an
> ISO-8859-1 character. That said, note what 'info groff' says:

>      (2) The last solution, i.e., using escaped spaces, is "classical" in
>   the sense that it can be found in most `troff' documents.
>   Nevertheless, it is not optimal in all situations, since `\ ' inserts a
>   fixed-width, non-breaking space character which can't stretch.
>   `gtroff' provides a different command `\~' to insert a stretchable,
>   non-breaking space.

> Samba might not want to use the latter since it would be specific to
> groff.

> Aside from all of this, as soon as I get a chance to do so I would like
> to investigate why Konqueror is misrendering this. In the most recent
> version it's supposed to handle encodings correctly, but even in the
> version Filipus is using it should have expected and correctly handled
> ISO-8859-1.

After a closer look I realize that man is also misrendering; the
non-breaking spaces are being turned into zero-width non-breaking spaces,
which isn't correct either :)

So we should probably fix the html source to use   instead of a literal
iso8859-1 no-break space, and then try to work out afterwards whether fixes
are needed to the toolchain.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list