Base122
Base122 copied to clipboard
A space efficient alternative to base-64
Hello! Are you considering to publish it on NPM? I was trying to use in a project when suddenly discovered it wasn't published over there 😞
running `node encodeFile.js --html --add-decoder input.html output.html` on ``` ``` you get double `` tags (scroll to see) ``` i,i+=7,i>=8&&(c[o++]=l,i-=8,l=e>8&7;7!=d&&t(r[d]),t(127&b)}else t(b)}e.src=URL.createObjectURL(new Blob([new Uint8Array(c,0,o)],{type:n}))}for(var t=document.querySelectorAll("[data-b122]"),a=0;a
Since this is made to be UTF-8 compatible, why not make it such that it renders all text normally?
Hello Kevin, I read your blog post on this and am excited. However, I notice that base122 produces characters that are not displayed in my browser. Perhaps you (or anybody)...
有没有base256 会不会比base122小