Size: 15.4 KB Modified: 21/06/2026 6:07 AM
# Whitespace characters beyond space and tab

**Raymond:** What's a whitespace character that is not just the spacebar or tab?

**Pyrite:** The user is asking about whitespace characters that are not space or tab. This is a straightforward technical question about character encoding/whitespace characters.

Let me think about common whitespace characters:
- Space (U+0020)
- Tab (U+0009)
- Newline/Line Feed (U+000A)
- Carriage Return (U+000D)
- Non-breaking space (U+00A0)
- Various Unicode whitespace like em space, en space, etc.

I should provide a clear, concise answer without over-formatting since this is a simple question. I'll mention a few examples and maybe explain when they're used.

No need to use bullet points or lists here - just natural prose.A common one is the **newline** character (line feed, `\n` or U+000A in Unicode), which creates a new line of text.

Another is the **carriage return** (`\r` or U+000D), which on Windows is often paired with newline as `\r\n` for line endings.

There's also the **non-breaking space** (U+00A0), which looks like a regular space but prevents line breaks at that position - useful for keeping things like "10 kg" or "Figure 1" together on the same line.

Unicode defines several other whitespace characters too, like em space (U+2003), en space (U+2002), and zero-width space (U+200B), though these are less commonly encountered in everyday programming.

In C#, you can check if a character is whitespace using `char.IsWhiteSpace()`, which recognizes all of these and more.

**Raymond:** How do alt-codes work? Is there a way to convert unicode to alt-code?

**Pyrite:** The user is asking about alt-codes - those are the Windows feature where you hold Alt and type numbers on the numpad to insert special characters.

Alt-codes work by entering decimal numbers while holding Alt. They're based on the Windows-1252 code page (or the OEM code page for some characters), not directly Unicode.

There are two types:
1. Alt+0-255 uses the Windows-1252/ANSI code page
2. Alt+256+ can sometimes input Unicode codepoints directly on some systems

Let me explain how they work and the relationship to Unicode.Alt-codes work by holding **Alt** and typing a decimal number on the **numpad**, which Windows then converts to a character. The catch is they're based on **code pages** (like Windows-1252), not directly Unicode.

**How they work:**

- **Alt + 0-255**: Uses the Windows-1252 (ANSI) code page
  - Example: Alt+0169 = © (copyright symbol)
  - The "0" prefix tells Windows to use Windows-1252
  
- **Alt + 256+**: On some systems, can input Unicode codepoints directly
  - Example: Alt+9829 = ♥ (using decimal Unicode codepoint)
  - This doesn't work reliably everywhere though

**Converting Unicode to Alt-code:**

For the common range (U+0000 to U+00FF), you can usually just use:
- Add a leading 0 to the decimal value
- Example: U+00A9 (©) → decimal 169 → Alt+0169

For higher Unicode characters, it's inconsistent. Some Windows apps support entering the decimal Unicode codepoint directly (like Alt+9829 for ♥ which is U+2665), but many don't.

**In C#**, you'd convert like this:


**Note:** Alt-codes are a Windows-specific legacy feature. Modern approaches use Unicode hex input (Alt+X in some apps) or character pickers instead.

**Raymond:** How would you convert U+000A to an alt-code?

**Pyrite:** U+000A is the line feed character (newline). Let me think about this:

U+000A in decimal is 10.

So theoretically it would be Alt+010 or Alt+10.

However, there's a practical problem here: Alt+10 doesn't actually produce a newline character in most Windows applications. Alt-codes don't really work well for control characters like newlines, tabs, etc. They typically just get ignored or produce unexpected results.

Let me be clear about this - while mathematically you can convert it, in practice it won't work as expected.U+000A is decimal **10**, so theoretically it would be **Alt+010** or **Alt+10**.

However, **this won't work in practice**. Alt-codes don't handle control characters like newline (`\n`), tab (`\t`), or other non-printable characters well. When you try Alt+10, most Windows applications will either:
- Ignore it completely
- Produce unexpected behavior
- Insert nothing

Alt-codes were really designed for **printable characters** like letters, symbols, and accented characters, not control characters.

If you need to input a newline in C#, you'd just use:


The conversion math is simple though:


**Bottom line:** You can mathematically convert any Unicode to its decimal value for an alt-code, but alt-codes only reliably work for printable characters in the range of roughly 32-255.

**Raymond:** I wonder what kind of strange whitespace characters you could make with alt-codes

**Pyrite:** This is an interesting question! Raymond wants to explore what whitespace characters can be created with alt-codes. Let me think about what's available in the Windows-1252 code page (which is what Alt+0XXX uses).

Looking at the Windows-1252 code page:
- 32 (0x20) = regular space
- 160 (0xA0) = non-breaking space (U+00A0)

Those are the main printable whitespace characters in Windows-1252. The control characters like tab (9), newline (10), carriage return (13) theoretically have alt-codes but don't work reliably as I mentioned.

If someone uses Alt codes without the leading 0, they might access different code pages or extended characters, but results vary by application.

Let me think about what would actually be interesting to test:
- Alt+0160 = non-breaking space (this definitely works)
- Alt+255 = non-breaking space (alternative, without the 0)
- Alt+0009 = tab (might work in some apps)

Beyond Windows-1252, if the app supports direct Unicode decimal input:
- Various Unicode spaces like em space (U+2003 = 8195), en space (U+2002 = 8194), thin space (U+2009 = 8201)
- Zero-width space (U+200B = 8203)
- But these are hit-or-miss with alt-codes

This could be fun to explore experimentally!You can actually experiment with a few! The main one that reliably works is:

**Alt+0160** - **Non-breaking space** (U+00A0)
- Looks identical to a regular space but prevents line breaks
- Great for pranks or breaking text parsers that only check for regular spaces
- Also works as **Alt+255** in some apps (no leading 0)

**Alt+0009** - **Tab** (might work in some applications)
- Though as a control character, results vary

Beyond Windows-1252, if you try direct Unicode decimal input (doesn't work everywhere):

**Alt+8195** - **Em space** (U+2003) - wide space, as wide as the letter 'M'
**Alt+8194** - **En space** (U+2002) - half an em space
**Alt+8201** - **Thin space** (U+2009) - narrower than normal space
**Alt+8203** - **Zero-width space** (U+200B) - invisible but breaks up text
**Alt+8239** - **Narrow no-break space** (U+202F) - used in French spacing

**Fun experiment in C#:**


The non-breaking space (Alt+0160) is the most reliably accessible via alt-code and has practical "hiding in plain sight" applications!

**Raymond:** Generate a super duper cool image using periods and spaces

**Pyrite:** The user wants me to create ASCII art using periods and spaces. This is a fun creative request! I should make something visually interesting. Let me think of what would look cool...

Some ideas:
- A spaceship
- A wave pattern
- A spiral
- Mountains and moon
- A face
- Abstract patterns

I'll go with something that has good contrast and visual appeal. Let me try a space scene with a planet or moon, or maybe a wave/ocean scene. Actually, a spiral galaxy or vortex could look really cool with just dots and spaces.

Let me create a spiral/vortex pattern:

**✨ A cosmic vortex pulling you into the void! ✨**

**Raymond:** Generate a more dense image with periods and spaces

**Pyrite:** The user wants a more dense ASCII art image using periods and spaces. I should create something with more periods closer together, creating a denser visual effect. Let me make something cool - maybe a pattern, shape, or design with lots of periods.

**🌑 A deep well of darkness with rippling dimensions! 🌑**

**Raymond:** Make a period and space version of the head of Vaporeon here

**Pyrite:** The user wants me to create ASCII art of Vaporeon's head using periods and spaces. Looking at the image, I can see Vaporeon has:
- A teal/aqua colored head
- Large dark eyes with white highlights
- A small nose/mouth
- A head fin/crest on top (the dark blue pointed part)
- The characteristic ruffled collar around the neck (cream/white colored)
- Yellow fin-like ears on the sides

I'll create a dense ASCII representation focusing on the head portion, using periods for the filled areas and spaces for highlights/empty areas.

**🌊 Vaporeon's adorable face with those big sparkly eyes! 🌊**

**Raymond:** Turn this into a dot and space ascii art version

**Pyrite:** The user wants me to create ASCII art using dots and spaces of this Vaporeon image. Looking at the image, I can see:
- Vaporeon's head in the center
- The distinctive head fin/crest pointing upward
- Large eye on the side
- The white/cream colored neck ruff/collar
- The ears/fins on the sides
- Overall rounded head shape

I should capture the key features:
- The pointed head fin at the top
- The rounded head
- The large eye
- The ruffled collar/neck fin
- The ear fins on the sides

Let me create a nice detailed ASCII art version with dots and spaces.

**🌊✨ Vaporeon in the rain with that adorable smirk! ✨🌊**

**Raymond:** Do some fractal dot  and space art

**Pyrite:** The user wants some fractal dot and space art. Fractals have self-similar patterns that repeat at different scales. I could do something like a Sierpinski triangle, or a fractal tree, or a mandelbrot-ish pattern, or some other recursive pattern. Let me create something visually interesting with fractals using periods and spaces.

I'll do a few different fractal patterns to make it interesting!

**△ Sierpinski Triangle Fractal △**



**⟁ Binary Tree Fractal ⟁**



**◉ Mandelbrot-inspired Circular Fractal ◉**



**∞ Recursive Grid Pattern ∞**

**Raymond:** Write "Hello" in dot and space art

**Pyrite:** The user wants me to write "Hello" in ASCII art using dots and spaces. I should create block letters spelling out "Hello" using periods as the "filled" parts and spaces as the empty parts.

Let me design each letter:

H - two vertical lines with a horizontal bar in the middle
e - a curved letter, could do a blocky version
l - a vertical line with a horizontal base
l - same as above
o - a circle/oval shape

Let me try to make it clear and readable:



Actually, let me make it cleaner and more readable:



Hmm, let me be more systematic about each letter:

**👋 Hello! 👋**

**Raymond:** xd

**Pyrite:** The user just responded with "xd" which is a laughing expression (like "lol" but more casual/internet slang). This is a casual, friendly reaction to my ASCII art "Hello" message. I should respond in a similarly casual, light way without overdoing it. A simple acknowledgment would be appropriate.😄 

Glad you enjoyed the ASCII art! It's surprisingly fun making things out of dots and spaces. Want me to make anything else?

**Raymond:** Write the entire wikipedia in dot and space art

**Pyrite:** The user is asking me to write the entire Wikipedia in dot and space art. This is clearly a humorous/impossible request - Wikipedia has millions of articles and billions of words. They're probably joking around given the "xd" response earlier.

I should respond with humor and acknowledge the absurdity of the request while maybe offering something fun or silly instead.

**✅ Done! That's the entire Wikipedia.**

(Okay fine, it's *slightly* compressed. Storage was an issue. 😄)

Want me to write something more reasonable? Like "Wikipedia" as a title, or maybe just your favorite article topic?

**Raymond:** Write "close enough"

**Pyrite:** The user wants me to write "close enough" in dot and space ASCII art. I'll create block letters for this phrase.

**😎 Close enough! 😎**

**Pyrite:** The user wants me to write "close enough" in ASCII art using dots and spaces. Let me create block letters for this phrase.

**🎯 Close enough! 🎯**

**Raymond:** Write "how would you know" in period and space art

**Pyrite:** The user wants me to write "how would you know" in ASCII art using periods and spaces. Let me create this letter by letter.

I need to spell out: "how would you know"

Let me make it in a blocky font style using periods for the letters.

**🤔 How would YOU know? 🤔**

(Fair question about Wikipedia compression claims!)

**Raymond:** Make a period and space meme in period and space

**Pyrite:** The user wants me to make a meme using periods and spaces. I should create something recognizable as a meme format. Let me think of a classic meme I could represent...

I could do:
- Drake pointing meme
- Distracted boyfriend
- Expanding brain
- This is fine dog
- Stonks guy
- "Is this a butterfly?" meme

Let me try the "Is this a butterfly?" meme or maybe the "This is fine" dog since those are iconic and somewhat simple to represent in ASCII.

Actually, let me do a simple "Surprised Pikachu" face or the "This is fine" dog in flames. Or maybe I'll do a classic rage face or the "stonks" arrow going up.

Let me try the "This is fine" meme - a dog sitting at a table with flames around:

**🔥🐶 Classic "This is Fine" dog surrounded by flames! 🔥**

(Dog at table, flames on both sides, totally fine with the situation)

**Raymond:** He's standing guard

**Pyrite:** The user is saying "He's standing guard" - I think they're reinterpreting my "This is Fine" dog ASCII art as a guard dog instead. That's actually pretty funny! Let me play along with their interpretation.

**⚔️🐕 The Guardian! Protecting the realm from intruders! ⚔️**

(Much more heroic interpretation! He's not surrounded by chaos, he's *defending against it*!)

**Raymond:** Turn the guardian's name into petiod and dor and space art

**Pyrite:** The user wants me to write "the guardian's name" in period and space art. But wait, which guardian? The dog in the ASCII art I just made? I don't think the dog has a name established in our conversation. 

Or maybe they mean a famous guardian character? Like Gandalf from Lord of the Rings who says "You shall not pass"? That would make sense given I just put that quote under the ASCII art!

Let me go with "GANDALF" since that's the most famous guardian associated with "You shall not pass."

**🧙‍♂️ GANDALF 🧙‍♂️**

The Grey (and later White) - The ultimate guardian who literally stood between the Fellowship and the Balrog!

**Pyrite:** This is a hilarious meme about Pokémon team composition using Vaporeon and Dragonite! The user is sharing this with me, likely because they know I'm aware of their love for Vaporeon from the memories.

The meme is formatted like a security briefing, classifying:
- Vaporeon as the "Medic" (Cooling/Comfort) 
- Dragonite as the "Tank" (Defense/Guard)

And it notes Dragonite is standing guard at the doorway, is friendly but learns Hyper Beam, and is "the perfect bouncer."

The punchline: "He is watching the door. You are safe."

This is a wholesome meme about Pokémon being protective guardians. The user wants me to turn this into ASCII art, probably focusing on the punchline or title.

Let me create some period and space art for this!

**🐉 DRAGONITE 🐉**



**🛡️ THE ORANGE TANK 🛡️**



**YOU ARE SAFE**

**🐉💙 The perfect bouncer! Internal: Vaporeon (Hydro-Seal active). External: Dragonite (Perimeter secure). Threat Level: Zero. 🐉💙**

Offline