Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In the screenshot of TextMate below, I turned on "Show Invisibles." What's the whitespace character on the third line?

Text I imported from somewhere has these dot spaces, and I'm trying to figure out what they are.

screenshot

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

These are non-breaking spaces.

In contrast to normal spaces, they won't cause a line break. For example, you may want to add one between "OS" and "X" when you write "OS X". In HTML, they're created through the   character reference, but you can type them on a Mac by pressing ⌥-Space.

To inspect them, just copy them to Character Viewer's search box (press ⌥⌘T):

Whether you want them or not depends on your application. Some compilers might chocke on these non-ASCII characters, for example. It's generally better to replace them with normal spaces unless you really need them.

share|improve this answer
    
Thanks @slhck. That was it-- they were ignored by pdflatex and replacing them with normal spaces fixed the problem. –  Grnbeagle Mar 26 '12 at 0:38
    
I know what you mean! Had these problems with LaTeX myself, resulting in weird errors. –  slhck Mar 26 '12 at 5:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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