Why do we need these two functions? Their name does not imply there is any difference between them. Just that one coverts to three char and one to two char. The name must imply something about that the two char one have some extra logic that supports any type of input..

Also since this has been done 3 times in this file now, that really should be factored out into it's own function.