It's worth trying, but it is very unusual to ruin an encoder strip when installing. Even if it was damaged in the middle, the printer would still read up to the damaged point ok.
Also cleaning a sensor wouldn't help if the actual sensor itself is faulty, or if there is a problem with the board...