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.