js中
// unicode在字符串中使用格式:\u四位編碼,一定是四位,否則報錯
// 顯示 @ 符
console.log(`十六進制 unicode 編碼 0x0040 對應的字符是:${'\u0040'}`); // 十六進制 unicode 編碼 0x0040 對應的字符是:@
html中
<!-- html中使用unicode編碼格式:&#編碼的十進制數值 -->
<!-- 下面會在瀏覽器中顯示一個 @ 符 -->
<i>@</i>
unicode編碼官方查看與下載地址
http://www.unicode.org/charts/