34
4

7 回答 7

46

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.

于 2012-04-27T20:54:41.173 回答
16
于 2012-04-27T20:54:56.920 回答
4

Windows For Windows on a keyboard with a Numeric keypad:

Use Alt+0150 (en dash), Alt+0151 (em dash), or Alt+8722 (minus sign) using the numeric keypad.

于 2020-05-20T13:32:43.113 回答
3

This character does not exist in ASCII, but only in Unicode, usually encoded by UTF-8.

In UTF-8, characters are encoded by 2- or 3-byte sequences (or occasionally longer), where none of the two or three bytes is a valid ASCII code, where all of them are outside the ASCII range of 0 through 127.

One suspects that the foregoing only partly answers your question, but if so then this is probably because your question is, inadvertently, only partly asked. For further details, you can extend your question with more specifics.

于 2012-04-27T20:55:08.553 回答
2
于 2018-05-17T01:18:42.583 回答
0

Alt + 0151 seems to do the trick—perhaps it doesn't work on all keyboards.

于 2020-06-19T14:04:08.900 回答
-4

alt-196 - while holding down the 'Alt' key, type 196 on the numeric keypad, then release the 'Alt' key

于 2019-03-28T14:17:06.287 回答