document.write('<input id=s oninput=\'o="";for(i in s.value)o+="\\\\"+s.value.charCodeAt(i).toString(8);p.innerHTML=o\'><p id=p>') // octal
-
-
@mathias@maximeeuziere Nice! Now we might have enough room to get Unicode escape sequences back in there! -
@aemkei Even shorter: document.write('<input oninput=\'for(i in value)p.innerHTML+="\\\\"+value.charCodeAt(i).toString(8)\'><p id=p>')
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.