>>>>> "Chris" == Chris Tillman <[EMAIL PROTECTED]> writes:

    Chris> One trick I've used with printing documents in the MacOS
    Chris> world is an 'Option-Space' which is interpreted as a
    Chris> required, non-wrappable space. Does Linux have such a
    Chris> character?

The correct question is, does a particular character set (such as
ISO-8859-1) have such a character?  Yes, it does - the HEX value is
0xA0.  In fact, your Mac HTML editor probably translates the Macintosh
character set to ISO-8859-1, so that it would translate your Option
Space keystroke into that character.  In fact, web browsers even on
the Mac use ISO-8859-1 by default when displaying western language
pages.

However, the correct way to represent a non-breaking space in HTML is
"&nbsp;" (without the double quotes).  No matter what the encoding of
the overall page is (i.e. ISO-8859-1, Macintosh, Chinese Big-5, or
even plain old ASCII) this will always generate a non-break space
character, and not some weird symbol.

Double-check the generated HTML after you use your Option Space
trick.  Hopefully, it will say "&nbsp;", and not a binary
representation in your particular character set.

-tor

-- 
Får i ulveklær

Reply via email to