<?php
header('Content-Type: text/html; charset=utf-8');
include './assets/php/head.php';?>
<script type="text/javascript">
//010003 JS 特殊符号表
function toUnicode(str) {
var result = '';
var temp = '';
for (var i=0; i<test.length; i++) {
temp = test.charCodeAt(i).toString(10);
result += '&#'+temp+';:&#' +temp+';<br>';
}
return result;
}
var title ='数学符号:';
var test = '+−×÷±=<>≤≥≈≅≠≮≯≡()[]{}∶∵∴∷㏒㏑∑∏∅√∛∜∠%‰‱^';
document.write(title+'<br>');
document.write(toUnicode(test)+'<br>');
var title ='分数符号:';
var test = '½⅓⅔¼¾⅕⅖⅗⅘⅙⅚⅛⅜⅝⅞⅟';
document.write(title+'<br>');
document.write(toUnicode(test)+'<br>');
var title ='钢筋符号:';
var test = '❶❷❸❹❺❻❼❽❾❿@Φφ';
/**
* ❶:一级钢
* ❷:二级钢
* ❸:三级钢
* ❹:四级钢
* @:钢筋间距
* Φ:钢筋直径
* φ:Φ的小写,不建议使用
* */
document.write(title+'<br>');
document.write(toUnicode(test)+'<br>');
var title ='单位符号:';
var test = '°℃㎎㎏㎜㎝㎞㎡m³㏄ml¥$′″';
document.write(title+'<br>');
document.write(toUnicode(test)+'<br>');
var title ='罗马数字序号:';
var test = 'ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ';
document.write(title+'<br>');
document.write(toUnicode(test)+'<br>');
var title ='圆圈数字序号:';
var test = '⓪①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳㉑㉒㉓㉔㉕㉖㉗㉘㉙㉚';
document.write(title+'<br>');
document.write(toUnicode(test)+'<br>');
var title ='圆圈字母序号:';
var test = '㊣ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ';
document.write(title+'<br>');
document.write(toUnicode(test)+'<br>');
var title ='上标符号:';
var test = '⁰¹²³⁴⁵⁶⁷⁸⁹ᵃᵇᶜᵈᵉᶠᵍʰⁱʲᵏˡᵐⁿᵒᵖʳˢᵗᵘᵛʷˣʸᶻᴬᴮᴰᴱᴳᴴᴵᴶᴷᴸᴹᴺᴼᴾᴿᵀᵁᵂ⁺⁻⁼⁽⁾˙';
document.write(title+'<br>');
document.write(toUnicode(test)+'<br>');
var title ='下标符号:';
var test = '₀₁₂₃₄₅₆₇₈₉ₐₔₑᵢₒᵣᵤᵥₓᵤᵩᵦₒᵨᵤᵪᵧᴀʙᴄᴅᴇғɢʜɪᴊᴋʟᴍɴᴏᴘǫʀsᴛᴜᴠᴡxʏᴢ₊₋₌₍₎';
document.write(title+'<br>');
document.write(toUnicode(test)+'<br>');
</script>
<?php include './assets/php/foot.php'; ?>
效果图:
注:❶:一级钢;❷:二级钢;❸:三级钢;❹:四级钢;Φ:钢筋直径:@:钢筋间隔;
数学符号:
+:+
−:−
×:×
÷:÷
±:±
=:=
<:<
>:>
≤:≤
≥:≥
≈:≈
≅:≅
≠:≠
≮:≮
≯:≯
≡:≡
(:(
):)
[:[
]:]
{:{
}:}
∶:∶
∵:∵
∴:∴
∷:∷
㏒:㏒
㏑:㏑
∑:∑
∏:∏
∅:∅
√:√
∛:∛
∜:∜
∠:∠
%:%
‰:‰
‱:‱
^:^
分数符号:
½:½
⅓:⅓
⅔:⅔
¼:¼
¾:¾
⅕:⅕
⅖:⅖
⅗:⅗
⅘:⅘
⅙:⅙
⅚:⅚
⅛:⅛
⅜:⅜
⅝:⅝
⅞:⅞
⅟:⅟
钢筋符号:
❶:❶
❷:❷
❸:❸
❹:❹
❺:❺
❻:❻
❼:❼
❽:❽
❾:❾
❿:❿
@:@
Φ:Φ
φ:φ
单位符号:
°:°
℃:℃
㎎:㎎
㎏:㎏
㎜:㎜
㎝:㎝
㎞:㎞
㎡:㎡
m:m
³:³
㏄:㏄
m:m
l:l
¥:¥
$:$
′:′
″:″
罗马数字序号:
Ⅰ:Ⅰ
Ⅱ:Ⅱ
Ⅲ:Ⅲ
Ⅳ:Ⅳ
Ⅴ:Ⅴ
Ⅵ:Ⅵ
Ⅶ:Ⅶ
Ⅷ:Ⅷ
Ⅸ:Ⅸ
Ⅹ:Ⅹ
Ⅺ:Ⅺ
Ⅻ:Ⅻ
圆圈数字序号:
⓪:⓪
①:①
②:②
③:③
④:④
⑤:⑤
⑥:⑥
⑦:⑦
⑧:⑧
⑨:⑨
⑩:⑩
⑪:⑪
⑫:⑫
⑬:⑬
⑭:⑭
⑮:⑮
⑯:⑯
⑰:⑰
⑱:⑱
⑲:⑲
⑳:⑳
㉑:㉑
㉒:㉒
㉓:㉓
㉔:㉔
㉕:㉕
㉖:㉖
㉗:㉗
㉘:㉘
㉙:㉙
㉚:㉚
圆圈字母序号:
㊣:㊣
Ⓐ:Ⓐ
Ⓑ:Ⓑ
Ⓒ:Ⓒ
Ⓓ:Ⓓ
Ⓔ:Ⓔ
Ⓕ:Ⓕ
Ⓖ:Ⓖ
Ⓗ:Ⓗ
Ⓘ:Ⓘ
Ⓙ:Ⓙ
Ⓚ:Ⓚ
Ⓛ:Ⓛ
Ⓜ:Ⓜ
Ⓝ:Ⓝ
Ⓞ:Ⓞ
Ⓟ:Ⓟ
Ⓠ:Ⓠ
Ⓡ:Ⓡ
Ⓢ:Ⓢ
Ⓣ:Ⓣ
Ⓤ:Ⓤ
Ⓥ:Ⓥ
Ⓦ:Ⓦ
Ⓧ:Ⓧ
Ⓨ:Ⓨ
Ⓩ:Ⓩ
上标符号:
⁰:⁰
¹:¹
²:²
³:³
⁴:⁴
⁵:⁵
⁶:⁶
⁷:⁷
⁸:⁸
⁹:⁹
ᵃ:ᵃ
ᵇ:ᵇ
ᶜ:ᶜ
ᵈ:ᵈ
ᵉ:ᵉ
ᶠ:ᶠ
ᵍ:ᵍ
ʰ:ʰ
ⁱ:ⁱ
ʲ:ʲ
ᵏ:ᵏ
ˡ:ˡ
ᵐ:ᵐ
ⁿ:ⁿ
ᵒ:ᵒ
ᵖ:ᵖ
ʳ:ʳ
ˢ:ˢ
ᵗ:ᵗ
ᵘ:ᵘ
ᵛ:ᵛ
ʷ:ʷ
ˣ:ˣ
ʸ:ʸ
ᶻ:ᶻ
ᴬ:ᴬ
ᴮ:ᴮ
ᴰ:ᴰ
ᴱ:ᴱ
ᴳ:ᴳ
ᴴ:ᴴ
ᴵ:ᴵ
ᴶ:ᴶ
ᴷ:ᴷ
ᴸ:ᴸ
ᴹ:ᴹ
ᴺ:ᴺ
ᴼ:ᴼ
ᴾ:ᴾ
ᴿ:ᴿ
ᵀ:ᵀ
ᵁ:ᵁ
ᵂ:ᵂ
⁺:⁺
⁻:⁻
⁼:⁼
⁽:⁽
⁾:⁾
˙:˙
下标符号:
₀:₀
₁:₁
₂:₂
₃:₃
₄:₄
₅:₅
₆:₆
₇:₇
₈:₈
₉:₉
ₐ:ₐ
ₔ:ₔ
ₑ:ₑ
ᵢ:ᵢ
ₒ:ₒ
ᵣ:ᵣ
ᵤ:ᵤ
ᵥ:ᵥ
ₓ:ₓ
ᵤ:ᵤ
ᵩ:ᵩ
ᵦ:ᵦ
ₒ:ₒ
ᵨ:ᵨ
ᵤ:ᵤ
ᵪ:ᵪ
ᵧ:ᵧ
ᴀ:ᴀ
ʙ:ʙ
ᴄ:ᴄ
ᴅ:ᴅ
ᴇ:ᴇ
ғ:ғ
ɢ:ɢ
ʜ:ʜ
ɪ:ɪ
ᴊ:ᴊ
ᴋ:ᴋ
ʟ:ʟ
ᴍ:ᴍ
ɴ:ɴ
ᴏ:ᴏ
ᴘ:ᴘ
ǫ:ǫ
ʀ:ʀ
s:s
ᴛ:ᴛ
ᴜ:ᴜ
ᴠ:ᴠ
ᴡ:ᴡ
x:x
ʏ:ʏ
ᴢ:ᴢ
₊:₊
₋:₋
₌:₌
₍:₍
₎:₎
标签:title,JS,write,test,&#,010003,var,document,特殊符号
From: https://www.cnblogs.com/onestopweb/p/16850077.html