rearrange string with mixed languages (LTR + RTL)?

a 夏天 提交于 2019-12-24 01:38:29

问题


I have a text with mixed languages, (one LTR and the other RTL).when sending the string on SMTP the string gets mixed up .Is there any way to recognize the string ?


回答1:


RTL only affects the display of text, not the transmission. Not sure what "mixed up" might mean but I'd recommend you take a good look at the MailMessage.BodyEncoding property. The default is ASCII, not suitable for sending the kind of characters used in a RTL language. If that doesn't help then consider that the problem might actually be caused by the mail reader you are using. It might not support RTL or cannot handle a mix.



来源:https://stackoverflow.com/questions/3752579/rearrange-string-with-mixed-languages-ltr-rtl

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