重要特殊标记转义字符表
摘要:
本文搜集整理的是重要特殊标记转义字符,转义字符是很多程序语言、数据格式和通信协议的形式文法的一部分。转义序列通常有两种功能。第一个是编码一个句法上的实体,如设备命令或者无法被字母表直接表示的特殊数据。第二种功能,也叫字符引用,用于表示无法在当前上下文中被键盘录入的字符,或者在当前上下文中会有不期望的含义的字符
注:以&为例转义字符用法: & 十进制用法: & 十六进制用法: & 注意中间不得有空格等。
字符 | 十进制 | 十六进制 | 实体 | 名称 |
---|---|---|---|---|
• | 8226 | 0x2022 | • | 着重号 = 黑色小圆点(bullet = black small circle) |
… | 8230 | 0x2026 | … | 水平省略号(horizontal ellipsis = three dot leader) |
′ | 8242 | 0x2032 | ′ | 素数 = 分钟 = 英尺(prime = minutes = feet) |
″ | 8243 | 0x2033 | ″ | 双素数 = 秒 = 英寸(double prime = seconds = inches) |
‾ | 8254 | 0x203E | ‾ | 上划线(overline = spacing overscore) |
⁄ | 8260 | 0x2044 | ⁄ | 分数斜线(fraction slash) |
℘ | 8472 | 0x2118 | ℘ | 脚本大写 P = 幂集(script capital P = power set = Weierstrass p) |
ℑ | 8465 | 0x2111 | ℑ | 黑体字大写 I = 虚部符号(blackletter capital I = imaginary part) |
ℜ | 8476 | 0x211C | ℜ | 黑体字大写 R = 实部符号(blackletter capital R = real part symbol) |
™ | 8482 | 0x2122 | ™ | 商标(trade mark sign) |
ℵ | 8501 | 0x2135 | ℵ | alef 符号 = 第一超限(alef symbol = first transfinite cardinal) |
← | 8592 | 0x2190 | ← | 向左的箭头(leftwards arrow) |
↑ | 8593 | 0x2191 | ↑ | 向上的箭头(upwards arrow) |
→ | 8594 | 0x2192 | → | 向右的箭头(rightwards arrow) |
↓ | 8595 | 0x2193 | ↓ | 向下的箭头(downwards arrow) |
↔ | 8596 | 0x2194 | ↔ | 向左和向右的箭头(left right arrow) |
↵ | 8629 | 0x21B5 | ↵ | 带左转的向下箭头 = 回车(downwards arrow with corner leftwards = carriage return) |
⇐ | 8656 | 0x21D0 | ⇐ | 向左的双箭头(leftwards double arrow) |
⇑ | 8657 | 0x21D1 | ⇑ | 向上的双箭头(upwards double arrow) |
⇒ | 8658 | 0x21D2 | ⇒ | 向右的双箭头(rightwards double arrow) |
⇓ | 8659 | 0x21D3 | ⇓ | 向下的双箭头(downwards double arrow) |
⇔ | 8660 | 0x21D4 | ⇔ | 向左和向右的双箭头(left right double arrow) |
∀ | 8704 | 0x2200 | ∀ | 所有(for all) |
∂ | 8706 | 0x2202 | ∂ | 偏微分(partial differential) |
∃ | 8707 | 0x2203 | ∃ | 存在(there exists) |
∅ | 8709 | 0x2205 | ∅ | 空集 = 直径(empty set = null set = diameter) |
∇ | 8711 | 0x2207 | ∇ | 倒三角 = 向后差分(nabla = backward difference) |
∈ | 8712 | 0x2208 | ∈ | 属于(element of) |
∉ | 8713 | 0x2209 | ∉ | 不属于(not an element of) |
∋ | 8715 | 0x220B | ∋ | 包含的成员(contains as member) |
∏ | 8719 | 0x220F | ∏ | 求积(n-ary product = product sign) |
∑ | 8721 | 0x2211 | ∑ | 求和(n-ary sumation) |
− | 8722 | 0x2212 | − | 减号(minus sign) |
∗ | 8727 | 0x2217 | ∗ | 星号运算符(asterisk operator) |
√ | 8730 | 0x221A | √ | 平方根 = 根号(square root = radical sign) |
∝ | 8733 | 0x221D | ∝ | 成比例(proportional to) |
∞ | 8734 | 0x221E | ∞ | 无穷(infinity) |
∠ | 8736 | 0x2220 | ∠ | 角(angle) |
∧ | 8743 | 0x2227 | ∧ | 逻辑与(logical and = wedge) |
∨ | 8744 | 0x2228 | ∨ | 逻辑或(logical or = vee) |
∩ | 8745 | 0x2229 | ∩ | 交集 = 帽(intersection = cap) |
∪ | 8746 | 0x222A | ∪ | 并集 = 杯(union = cup) |
∫ | 8747 | 0x222B | ∫ | 积分(integral) |
∴ | 8756 | 0x2234 | ∴ | 所以(therefore) |
∼ | 8764 | 0x223C | ∼ | 波浪运算符 = 相似(tilde operator = varies with = similar to) |
≅ | 8773 | 0x2245 | ≅ | 约等于(approximately equal to) |
≈ | 8776 | 0x2248 | ≈ | 几乎等于 = 渐近(almost equal to = asymptotic to) |
≠ | 8800 | 0x2260 | ≠ | 不等于(not equal to) |
≡ | 8801 | 0x2261 | ≡ | 恒等于(identical to) |
≤ | 8804 | 0x2264 | ≤ | 小于或等于(less-than or equal to) |
≥ | 8805 | 0x2265 | ≥ | 大于或等于(greater-than or equal to) |
⊂ | 8834 | 0x2282 | ⊂ | 子集(subset of) |
⊃ | 8835 | 0x2283 | ⊃ | 超集(superset of) |
⊄ | 8836 | 0x2284 | ⊄ | 非子集(not a subset of) |
⊆ | 8838 | 0x2286 | ⊆ | 子集或等于(subset of or equal to) |
⊇ | 8839 | 0x2287 | ⊇ | 超集或等于(superset of or equal to) |
⊕ | 8853 | 0x2295 | ⊕ | 带圈的加号 = 直和(circled plus = direct sum) |
⊗ | 8855 | 0x2297 | ⊗ | 带圈的乘号 = 矢量积(circled times = vector product) |
⊥ | 8869 | 0x22A5 | ⊥ | 向上的钉子 = 正交于 = 垂直(up tack = orthogonal to = perpendicular) |
⋅ | 8901 | 0x22C5 | ⋅ | 点运算符(dot operator) |
⌈ | 8968 | 0x2308 | ⌈ | 左天花板(left ceiling = APL upstile) |
⌉ | 8969 | 0x2309 | ⌉ | 右天花板(right ceiling) |
⌊ | 8970 | 0x230A | ⌊ | 左地板(left floor = APL downstile) |
⌋ | 8971 | 0x230B | ⌋ | 右地板(right floor) |
〈 | 9001 | 0x2329 | ⟨ | 向左的角括号(left-pointing angle bracket = bra) |
〉 | 9002 | 0x232A | ⟩ | 向右的角括号(right-pointing angle bracket = ket) |
◊ | 9674 | 0x25CA | ◊ | 菱形(lozenge) |
♠ | 9824 | 0x2660 | ♠ | 黑桃(black spade suit) |
♣ | 9827 | 0x2663 | ♣ | 黑梅花(black club suit = shamrock) |
♥ | 9829 | 0x2665 | ♥ | 黑心(black heart suit = valentine) |
♦ | 9830 | 0x2666 | ♦ | 黑方块(black diamond suit) |