假设我创建了一个速记书写系统,它有自己的自定义唯一字符集,而 Unicode 中不存在这些字符。
有没有一种方法可以让我:
亲自绘制每个角色,
然后为每个字符分配自己的 Unicode 代码,
然后将这些代码写入 HTML 页面中,
然后在网站上发布该 HTML 页面,
然后以某种方式使其他人在访问该网站的页面时能够实际查看这些独特的字符?
unicode customization character-encoding special-characters non-ascii-characters
我把我的Javascript代码通过分析器,并被告知不要使用with (Math).我无法找到另一种方法来使这项工作.有任何想法吗?该代码生成常规时钟和八进制时钟.我现在发布代码:
var oct = ["0", "1", "2", "3", "4", "5", "6", "7"];
var c;
var now;
var day;
var month;
var year;
var octtime;
var oct1;
var oct2;
var oct3;
var oct4;
var oct5;
var oct6;
var octvalue;
var point = ".";
function a() {
c = checkTime;
now = new Date();
day = now.getDate();
month = now.getMonth();
year = now.getFullYear();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
var totsecs = hours …Run Code Online (Sandbox Code Playgroud)