3 ms·
This is what you're looking for: https://github.com/qntm/base2048 https://github.com/qntm/base2048 It can store 385 bytes per tweet. This link includes a bit
by ludocode 5y ago
This is what you're looking for:
https://github.com/qntm/base2048 https://github.com/qntm/base2048
It can store 385 bytes per tweet. This link includes a bit more technical explanation of how Twitter counts characters towards the limit. Apparently, using the entire range of unicode characters does not improve compression because of the double weighting of emojis and other characters as described in TFA. It links to a base131072 encoding which can only store 297 bytes per tweet.