问题
When the Label text value ends with end bracket. The result in Right to Left is wrong like example.
Text: ABC (123) Result: (ABC (123 Expected Result: ABC (123)
Is there any solution to fix it?
回答1:
You have to use the Unicode Right-to-left mark
, (U+200F
) in your text. Conversely, use the Left-to-right mark
(`U+200E) if you know you need LTR rendering.
回答2:
Check your input encoding.you should use UTF family or unicode to gain your goal. also check your file encoding in visual studio.
来源:https://stackoverflow.com/questions/15471500/right-to-left-bracket-display-wrong