[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: What's in a space?



** Reply to note from xywrite@xxxxxxxx Sat, 11 Apr 1998 17:30:44 +0900 (JST)
 
> Sorry to ask a really stupid question, but: if Ascii 32 is a hard space,
> then which ASCII is the normal space?

One-byte Ascii 32 is the normal space. It displays as a normal space.
The 3-byte version of Ascii 32 (actually 255-50-48, or 255+"20") is the hard
(unbreakable) space. Within XyWrite it displays as an Ascii 31 (downward-pointing
solid triangle, in most screen fonts). Similarly, the unbreakable hyphen is the
3-byte form of hyphen (255-50-68, or 255+"2D", cf. the hexadecimal notation for a
1-byte hyphen, 2Dh).

-----------
Robert Holmgren
holmgren@xxxxxxxx
-----------