Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the ASCII character code for '—'?

I am working on decoding text. I am trying to find the character code for the character, not to be mistaken for -, in ASCII. I have tried unsuccessfully. Does anybody know how to convert it?

like image 348
Adam Sh Avatar asked Apr 27 '12 20:04

Adam Sh


People also ask

What is ASCII code table?

The ASCII table contains letters, numbers, control characters, and other symbols. Each character is assigned a unique 7-bit code. ASCII is an acronym for American Standard Code for Information Interchange.

What is the ASCII code for 0 to 9?

It can be observed that ASCII value of digits [0 – 9] ranges from [48 – 57]. Therefore, in order to print the ASCII value of any digit, 48 is required to be added to the digit.


1 Answers

Quotation from wiki (Em dash)

When an actual em dash is unavailable—as in the ASCII character set—a double ("--") or triple hyphen-minus ("---") is used. In Unicode, the em dash is U+2014 (decimal 8212).

Em dash character is not a part of ASCII character set.

like image 144
Li0liQ Avatar answered Oct 23 '22 22:10

Li0liQ