use character tables instead of shifting to solve missing characters