We have the following subtitle having U+202B (right to left embedding) code to force right to left text.
صحيح، لكن في هذه الحالة...
This code was added to enable RTL rendering on a certain platform that renders text LTR by default.
However, after adding the code, we observe that the subtitles are rendered LTR in AVPlayer. If the U+202B code is removed then the subtitles are rendered RTL (as seen above)
This issue is seen only when punctuations (or similar characters) are present
Is there anyway I can make the AVPlayer ignore the U+202B code?
صحيح، لكن في هذه الحالة...
This code was added to enable RTL rendering on a certain platform that renders text LTR by default.
However, after adding the code, we observe that the subtitles are rendered LTR in AVPlayer. If the U+202B code is removed then the subtitles are rendered RTL (as seen above)
This issue is seen only when punctuations (or similar characters) are present
Is there anyway I can make the AVPlayer ignore the U+202B code?