Add documentation for expandToVisibleCharacter()