Back
Asciify Logo
Asciify
•—

ASCII 150

En dashLowercase u with circumflex

ASCII 150 is – on Windows and û in old DOS.

– (En Dash) is byte 150 in Windows-1252, Unicode U+2013. It's the dash for ranges, as in 9–5 or pages 10–20, and in German and British typesetting a spaced en dash does the work of a sentence dash. It ends up where it shouldn't through automatic typography. WordPress turns a double hyphen into an en dash, so --verbose in a tutorial can arrive as –verbose, and the program sees an argument it doesn't know. Numbers suffer too: a figure like –5 pasted from a PDF won't parse, because JavaScript's parseFloat and spreadsheets only accept the hyphen-minus (0x2D) as a sign. The true minus sign, U+2212, isn't in Windows-1252 at all. In UTF-8 the en dash is E2 80 93, which reads as – in Windows-1252. The HTML entity is –.

û (Small U with Circumflex) is byte 150 in code page 437, the original IBM PC character set, and maps to Unicode U+00FB. Windows-1252 has the en dash – at 150, so French DOS text read as Windows-1252 turns août into ao–t and sûr into s–r. Code page 850 kept û at 150 too.

PunctuationLatin Letter

Technical Details

Technical Details

Code Example

</>
#include <stdio.h>
int main(void) {
/* On Windows (code page 1252) byte 150 is –.
Modern terminals expect UTF-8, so print the code point, not the byte. */
printf("\u2013\n"); /* UTF-8: E2 80 93 */
unsigned char b = 150; /* the raw Windows-1252 byte */
printf("%d 0x%02X\n", b, b); /* 150 0x96 */
return 0;
}

Code Example

</>
#include <stdio.h>
int main(void) {
/* Byte 150 is û only on a console using code page 437
(chcp 437 on Windows, or DOSBox). On a UTF-8 terminal the
lone byte 0x96 is invalid and prints as garbage, often �. */
putchar(150);
/* char is signed on x86, so a plain char holding 0x96 is -106.
Use unsigned char when you compare or index by byte value. */
char c = (char)150;
unsigned char u = 150;
printf("\n%d %d\n", c, u); /* -106 150 */
/* Portable: print the Unicode character as UTF-8 instead. */
printf("\u00FB\n"); /* C3 BB */
return 0;
}

How to Type It

Windows
Hold Alt and type 0150 on the numeric keypad, with Num Lock on. The leading zero picks the Windows code page. No numeric keypad? In Word, type 2013 and press Alt+X.
Mac
Press Option+-.
Linux
In GNOME, or any desktop running IBus, press Ctrl+Shift+U, type 2013, then Space. With a Compose key set up, press Compose, minus, minus, period.
Phone
iPhone: open the 123 keyboard, long-press the hyphen key and pick –. Android (Gboard): tap ?123, long-press the hyphen key and pick –.

How to Type It

Windows
Hold Alt and type 150 on the numeric keypad, with no leading zero. Windows reads it as a DOS code and inserts û.

û is also ASCII 251 on Windows, which has the full guide.

Frequently Asked Questions

  • A hyphen joins the parts of a word or a compound, as in e-mail and well-known. The en dash connects two separate things: a span like 2019–2024, or two equal partners, as in the Paris–Berlin train or a US–China agreement. The longer em dash, byte 151, is the one for breaks in a sentence.

  • Swap the dash before parsing: `parseFloat(s.replace(/[\u2013\u2212]/g, '-'))` handles both the en dash and the true minus sign. Do it once where the data comes in, not at every calculation. Numbers taken from PDFs often carry other lookalikes as well, like non-breaking spaces between thousands, so check a sample before trusting the totals.

  • From 10 to 20. The en dash already means to, so pairing it with from or between says it twice: write between 1990 and 1995, or just 1990–1995 on its own. The dash suits tables, citations and headings. In running text the words usually read better anyway.

  • That dash is a û. DOS keeps û at byte 150, which Windows-1252 uses for the en dash, so août becomes ao–t and sûr becomes s–r. It hides well, since a dash inside a date looks almost deliberate. With pandas, read the file as `pd.read_csv('old.csv', encoding='cp850')` and the months come back intact.

Frequently Asked Questions

  • That dash is a û. DOS keeps û at byte 150, which Windows-1252 uses for the en dash, so août becomes ao–t and sûr becomes s–r. It hides well, since a dash inside a date looks almost deliberate. With pandas, read the file as `pd.read_csv('old.csv', encoding='cp850')` and the months come back intact.

@workani&@alexluthor
Privacy & legal

Privacy

No accounts, no ads, no tracking cookies, and no cross-site tracking. The only analytics we keep are faceless — anonymous, aggregated counts of pages and searches, never tied to you. We store no IP addresses, set no tracking cookies, and build no profiles. Cloudflare hosts the site and handles requests for delivery and security.

Full privacy policy·Extension privacy·legal@asciify.dev

Attributions & licenses

Twemoji
© Twitter, Inc and other contributors · CC-BY 4.0
Noto Color Emoji
© Google · Apache 2.0
Fluent UI Emoji
© Microsoft · MIT
OpenMoji
© HfG Schwäbisch Gmünd · CC-BY-SA 4.0
Toss Face
© Viva Republica (Toss) · SIL OFL 1.1
JoyPixels
© JoyPixels Inc. · Free Limited Use License
SerenityOS Emoji
© The SerenityOS Developers · BSD-2-Clause
EmojiTwo
© EmojiTwo contributors · CC-BY 4.0
Apple Color Emoji
© Apple, Inc.
Facebook Emoji
© Meta Platforms, Inc.

Apple and Facebook emoji styles are proprietary and shown here solely for reference and comparison — a common-sense application of nominative-use / fair-use principles. asciify is not affiliated with, endorsed by, or sponsored by Apple, Inc., Meta Platforms, Inc., or any other rights holder listed above. If a rights holder requests removal of their emoji style from this site, it will be removed.

All other vendor emoji are reproduced for reference and comparison under their respective open licenses listed above.

Character names and code points from the Unicode® Standard. Unicode® and the Unicode Logo are registered trademarks of Unicode, Inc.

Privacy
© asciify.dev 2025-2026