I need to convert a string to binary specifically on 7 bits.
'%'.charCodeAt().toString(2)
The above code return 100101, I think it convert on 8 bits. (so this link How to convert text to binary code in JavaScript? is not helping me).
%
is equal to 0100101 in binary on 7 bits.
The only links I found on SO are about Java.