Switched diff strings to single-character representations