Thanks Norbert,

This is a nice library!

Alexandre


On Jun 12, 2014, at 7:12 AM, Norbert Hartl <[email protected]> wrote:

> Just for the record. I’ve uploaded a package to smalltalkhub that contains 
> util classes to en-/decode values into/from Base62/Base36.
> 
> Base62/Base36 encode numbers in short strings. These are used e.g. by url 
> shortener services from google, bit.ly etc. 
> 
> Base36 uses lowercase letters and numbers to encode, Base62 uses all 
> characters from Base36 plus all uppercase letters. Base62 produces smaller 
> strings while Base36 produces case insensitive ones.
> 
> Example: 
> 
> Base62 fromNumber: 100000 -> 'q0U‘ 
> 
> Base36 fromNumber: 100000 -> ‚255s'
> 
> FYI,
> 
> Norbert
> 
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply via email to