-<p>It’s made around UTF-8 coding, and Base64 for files, it allows input international encoding and some standard file formats. For example if you input an ~ this will show the decimal value of the UTF-8 encoding for that character, i.e. 126. If you input ~~ then it “could” show 126 126, but it doesn’t, because that would make the list to be <em>very</em> discontinuous, even decoding character by character won’t be a <strong>prefix code</strong> because 126126 could be understood in many ways, for example: 12, 61, 26 or 1, 261, 26 and so on, it will not have the property of being uniquely decodable, unless we leave spaces or any special marker within codes 126[marker]126, but at doing that, we won’t have a natural any more, let alone a continuous list; so instead, if you input ~~ you get the number 32382, that is a direct conversion to decimal from hexadecimal code of UTF-8.</p>
0 commit comments