重新排列字符串混合语言(LTR + RTL)? [英] rearrange string with mixed languages (LTR + RTL)?
问题描述
我有一个混合的语言,(一个LTR和其他RTL)。当发送SMTP上的字符串,长度被混在一起。是有什么办法可以识别字符串文本?
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 ?
推荐答案
RTL只影响文本的显示的,而不是传播。不知道什么是混淆可能意味着,但我建议你好好看看在MailMessage.BodyEncoding财产。默认为ASCII,不适合送样的RTL语言使用的字符。如果这样做没有帮助再考虑这个问题实际上可能是由您正在使用的邮件阅读器引起的。它可能不支持的RTL或不能处理的混合
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.
这篇关于重新排列字符串混合语言(LTR + RTL)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!