How can I encode an ascii string in base 15?In other words, I have the following characters available:0123456789abcdeI have no idea how to do this. What do you suggest I do?(If this is not on-topic, please migrate.)
Encode an ascii string in base 15
strings;encoding scheme
Let's take a different view angle.The problem is not really about encoding something like decimals numbers 0..127 into base-15 (which is messy). It's about converting a base-127 string into base-15. If you can see it that way, then it's just the same principle as with converting from, say, base-16 (hex) to base-10 (decimal), or base-10 to base-2.