57

I provide the user with a list of key sequences that lets the user type only with ASCII characters and generate various Unicode characters. This is what they see in the sequence list window:

character list

My problem is that some sequences use Space, and using a space character in the “Sequence” column makes things confusing.

So I tried using {spc} but it’s not very aesthetically pleasing, because it takes too much place. Then I tried (U+2423) but I think it’s too easy to confuse with _ (underscore). In short, none of the following solutions were really satisfying:

 spc ␣

Can someone maybe suggest a single non-ASCII character that I could use, which would make it clear to the user that they are supposed to press Space as part of the sequence, while not taking too much screen space? Due to the limitations of the framework I am using (AutoHotKey) I would strongly prefer not having to rely on rare fonts/symbols or to use colour.

11
  • 2
    Why not {space-bar} or even {space}?
    – JonW
    Commented Apr 4, 2014 at 13:08
  • 1
    The major problem is that it makes the “Sequence” column very wide, because it adapts to the width of the longest sequence. But you’re right — there is no reason why I couldn’t use it, and I think it’s worth making that suggestion an answer. Commented Apr 4, 2014 at 13:22
  • 2
    This particular ASCII chart uses (sp). Emacs documentation (and the editor itself) use SPC. SP may not be immediately clear but would be shorter. Also there is .
    – Jason C
    Commented Apr 5, 2014 at 2:19
  • 8
    The one with ␣ looks good. I have seen ␣ used many times to represent space
    – kinokijuf
    Commented Apr 5, 2014 at 10:37
  • 1
    @Armstrongest it’s Unicode symbol U+2422 BLANK SYMBOL ␢ (as mentioned in one of the answers below). Commented Jun 16, 2016 at 8:46

10 Answers 10

18

I had similar task — the dialog that showed specific keyboard shortcuts for map editing software. To solve such a case I've used visual keyboard button representations with labels on it — it took some space (and increased a visual noise a bit), but was ultimately obvious to most users:

Keyboard shortcuts

RC — Create new rectangle with it's centre in mouse position

RTL — Create new rectangle with it's top-left corner in mouse position

RSpace — Display list of possible options for new rectangle

Ctrl — Move to nearest left object

etc.

1
  • 2
    Thanks. I eventually went for this solution. It required changing the GUI toolkit but the end result is a lot more satisfying. See i.imgur.com/kSt8ptX.png Commented Nov 23, 2015 at 16:18
25

If you don't have any technical reason not to, then I'd suggest actually using terms that users understand rather than just trying to get your fields to have nice alignment / visuals.

{SPACE-BAR} or even {SPACE} are pretty unambiguous and you want to ensure people actually understand what you're offering them, rather than just aiming for aesthetics.

Put it this way; you work in UX yet you - a professional - can't think of a term to use for the spacebar. How are 'normal' people supposed to feel if even you don't know of an alternative?

So go with {SPACE-BAR} as that's the name of the key, it's what people think of. For example, there is probably no confusion in the sentence {Press the Space-bar to continue} because it's an understood name for that button. Hell, that's more useful than giving them the Unicode code!

25

In addition to OPEN BOX U+2423 ␣, which you have tried, there’s U+2420 SYMBOL FOR SPACE ␠ and U+2422 BLANK SYMBOL ␢. That’s pretty much all that Unicode has in this department.

BLANK SYMBOL does not look blank at all. SYMBOL FOR SPACE exists in a few fonts only, with great variation in shape. In some fonts, it contains “S” and “P” in very small size—almost illegible in normal copy text sizes. But in the Symbola font it looks nice (SP in a box with dotted border). But I’m afraid you would need a monospace font (and might even be fixed to a specific font).

1
  • 7
    On my first computer job decades ago, long before unicode, when we wrote our code out by hand we used a crossed out "b", very similar to the unicode "blank symbol" 2422. When using coding forms we just left it blank. Commented Apr 5, 2014 at 12:06
19

Spaces in Unicode

Unicode defines several space characters with specific semantics and rendering characteristics, as shown in the table below. Depending on the browser and fonts used to view this table, not all spaces may display properly..."

ie: U+0020 32 Yes No Space Basic Latin ] [

U+200B 8203 Yes No Zero Width Space General Punctuation ]​[

Unicode also provides some visible characters to stand in for space when necessary:

Space illustrating characters (visible) in Unicode

U+00B7 183 Middle dot ·

U+237D 9085 Shouldered open box

U+2420 9248 Symbol for space

U+2422 9250 Blank symbol

U+2423 9251 Open box

The best character to use is the last character (Open Box) as used in Set Theory / Theory of Computation. When space codes require explicit indication:

enter image description here

for example when describing a turing machine overwriting a '1' with blank.

1
  • 5
    Open Box would get my vote. I've never seen anything else used when it's necessary to unambiguously represent a space. Commented Feb 10, 2016 at 22:03
6

For the first computer I ever had, the manual used a downward triangle where necessary to emphasise the presence of a space. U+25BD (▽) fits the bill, but you might consider that a "rare symbol".

I'm not claiming this is a universally-recognised symbol for a space character or anything. But provided that you're willing to define it in the introduction it would do the job. For that matter, so would anything that is obviously not an ASCII character.

0
5

A space character with a grey background might work. If the menu you are writing cannot include that, you could try the various shades of checkerboard grey provided by unicode 2591 (the best one, ░ ) or 2592,2593,2588. http://en.wikipedia.org/wiki/Code_page_437

4

Unicode uses U+25CC, the dotted circle ◌, for indicating empty space with combining characters. See combining diacritical marks (PDF). Seems like a reasonably “official” mark of “empty space” and it’s far less ambiguous than the actual space mark.

I do definitely agree with Steve Jessop that it would need defining in the introduction

1

I encountered a similar problem when making preliminary analysis on some IMing typing data. Since I needed to be able to display the character many times in a visually distinct fashion, I ended up going the unicode route, and dug up a couple of characters that I liked on this wonderful site.

  • ◯ large circle
  • ○ white circle
  • ○ halfwidth white circle
  • ⚪ medium white circle
  • ⚬ medium small white circle
  • ◌ dotted circle

I ended up choosing ◌, but something else may be better for you depending on what font you're using and personal preference. ▽, ␣, and ░ are all good options that were already suggested.

1

As mentioned just the name space is usually clear enough.

Alternatively, if you are not restricted to just one char, combine 3 box unicode characters to look like a larger open box

└─┘

Which is U+2514, U+2500 and U+2518 combined.

Or

▕▁▁▁▏

Which is U+2595, U+2581, U+2581 and U+258F combined.

0

I would suggest the white rectangle ▭ (U+25AD) as that somewhat resembles the space bar key. That would make your examples look like this:

Sequence Char Unicode Description
\▭ U+2423 Open box
[▭] U+2610 Ballot box
--▭ - U+00AD Soft hyphen
▭- - U02011 Non-breaking hyphen

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.