Adding complete character encoding map and associated tests
Added support for strings with length > 2, pg 29