Shortens strings by replacing char combinations with unicode chars.