When iterating through characters in the operator string, the code does not properly deal with code points with two code units.
The code has changed a lot and I think we now ignore non-BMP operators and treat them as normal text. We should however be able to handle the (non-BMP) arabic operators in bug 153984, so I'm resolving this as a duplicate. *** This bug has been marked as a duplicate of bug 153984 ***