Right To Left Bracket display wrong

本秂侑毒 提交于 2019-12-12 10:35:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!