When the text value of the label ends with a trailing bracket. The result from right to left is incorrect, as an example.
Text: ABC (123) Result: (ABC (123 Expected Result: ABC (123)
Is there any solution to fix it?
You need to use the Unicode Right-to-left mark , ( U+200F ) in the text. Conversely, use the Left-to-right mark (`U + 200E) if you know you need an LTR render.
Right-to-left mark
U+200F
Left-to-right mark
Check input encoding. To achieve your goal, you must use the UTF family or Unicode. also check the encoding of your file in visual studio.