'—' 的 ASCII 字符代码是什么? [英] What's the ASCII character code for '—'?

查看:27
本文介绍了'—' 的 ASCII 字符代码是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在解码文本.我试图在 ASCII 中找到 - 字符的字符代码,不要被误认为 -.我试过不成功.有人知道怎么转换吗?

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?

推荐答案

引自维基 (Em 破折号)

当实际的长破折号不可用时——如在 ASCII 字符集中——使用双连字符 ("--") 或三连字符减号 ("---").在 Unicode 中,破折号是 U+2014(十进制 8212).

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 破折号字符不是 ASCII 字符集的一部分.

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

这篇关于'—' 的 ASCII 字符代码是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆