GlyphWiki logo
navigation
help
search

toolbox
languages
groupdiscussionedit this pagehistory

Group:sandbox

From GlyphWiki, the free glyph database

Font file

Glyph collection

 function u(u){a=[];for(i=0;i<u.length;i++){n=u.codePointAt(i);a.push(n.toString(16).padStart(4,0));if(n>65535)i++}return 'u'+a.join('-u')}
 $('#edTextbox').value.replace(/(.+)\t(.+)/g,function(_,a,b){if(a=='-')return '*'+b;a=`[[${u(a)}]]`;b=(b[0]=='「'||b[2]=='s')?b:`[[${u(b)}]]`;return `,${a},${b}`})
 $('#edTextbox').value.replace(/,(.+)\,(.+)/g,function(_,a,b){b=(b.match(/u30|u2f|ue0|-[^u]/g)?b:b.replace('-',']][['));return `,${a},${b}`})