Outlook 2016:一些电子邮件以中文发送 [英] Outlook 2016: Some emails arrive with the body in Chinese

查看:106
本文介绍了Outlook 2016:一些电子邮件以中文发送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时,我们的一位用户会收到来自已知来源的电子邮件,并且电子邮件正文的字符将为中文而不是英语.他们不会全是中文,而是中文和一些随机字符的混合体,例如:

Occasionally one of our users will receive an email from a known source, and the characters of the body of the email will be Chinese instead of English. They won't all be Chinese, but a mix of Chinese and some random characters, like this:

格浴㹬਍†格慥㹤਍††䴼呅⁁瑨灴攭留癞∽潃瑮湥⵴祔数•潣瑮湥㵴琢硥⽴瑨汭※档牡敳㵴瑵ⵦ㘱㸢਍ ††洼瑥⁡瑨灴攭留癞∽潃瑮湥⵴祔数•潣瑮湥㵴琢硥⽴瑨汭※档牡敳㵴卉ⵏ㠸㤵ㄭ㸢਍††琼莹敬刾捩敫⁹效潲扡够畯⁲汆睯牥⁳牏䜠晩㱴琯莹敬ാ㰠栯慥㹤਍†戼挚⁹杢潣潬㵲⌢模糊晦涩㸢਍††琼扡敬眠摩"

"格浴㹬਍†格慥㹤਍††䴼呅⁁瑨灴攭畱癩∽潃瑮湥⵴祔数•潣瑮湥㵴琢硥⽴瑨汭※档牡敳㵴瑵ⵦ㘱㸢਍††洼瑥⁡瑨灴攭畱癩∽潃瑮湥⵴祔数•潣瑮湥㵴琢硥⽴瑨汭※档牡敳㵴卉ⵏ㠸㤵ㄭ㸢਍††琼瑩敬刾捩敫⁹效潲慭獮䠠獡䐠汥癩牥摥夠畯⁲汆睯牥⁳牏䜠晩㱴琯瑩敬ാ 㰠栯慥㹤਍†戼摯⁹杢潣潬㵲⌢晦晦晦㸢਍††琼扡敬眠摩"

这似乎只发生在一个或两个用户上,并且不是每个发件人-实际上,发件人发送的一封电子邮件可能不错,而下一封可能是这样.编码看起来不错,但我们不确定其他地方.另一件事-我们将梭子鱼作为我们的电子邮件过滤器.如果我们首先在梭子鱼中查看有问题的电子邮件之一,那就是英语.在客户端似乎已更改为中文.

It only seems to be happening to one or two users, and it's not every sender - in fact, one of the emails from the sender could be fine, and the next could be like this. Encoding seems to be fine, but we're not sure where else to look. One other thing - we have Barracuda as our email filter. If we view one of the problem emails in Barracuda first, it's English. It seems to be changed to Chinese on the client side.

我们有一台内部部署的Exchange 2016服务器,其中Outlook 2016作为邮件客户端,并且操作系统为Windows10.谢谢!

We have an on prem Exchange 2016 server with Outlook 2016 as the mail client, and the OS is Windows 10. Thanks!

推荐答案

尽管我无法告诉您原因,但我可以告诉您发生了什么事.

I can tell you what has happened although I cannot tell you why.

我将您的字符串保存到文本文件中.我创建了一个小的Excel宏来读取该文件并以十六进制显示字符:

I saved your string to a text file. I created a small Excel macro to read that file and display the characters in hexadecimal:

683C 6D74 3E6C 0A0D 2020 683C 6165 3E64 0A0D 2020 2020 4D3C 5445 2041 7468 7074 652D 7571
7669 223D 6F43 746E 6E65 2D74 7954 6570 2022 6F63 746E 6E65 3D74 7422 7865 2F74 7468 6C6D
203B 6863 7261 6573 3D74 7475 2D66 3631 3E22 0A0D 2020 2020 6D3C 7465 2061 7468 7074 652D
7571 7669 223D 6F43 746E 6E65 2D74 7954 6570 2022 6F63 746E 6E65 3D74 7422 7865 2F74 7468
6C6D 203B 6863 7261 6573 3D74 5349 2D4F 3838 3935 312D 3E22 0A0D 2020 2020 743C 7469 656C
523E 6369 656B 2079 6548 6F72 616D 736E 4820 7361 4420 6C65 7669 7265 6465 5920 756F 2072
6C46 776F 7265 2073 724F 4720 6669 3C74 742F 7469 656C 0D3E 200A 3C20 682F 6165 3E64 0A0D
2020 623C 646F 2079 6762 6F63 6F6C 3D72 2322 6666 6666 6666 3E22 0A0D 2020 2020 743C 6261
656C 7720 6469

每对十六进制数字代表一个有效的ASCII字符.第四个字符是"0A0D"或换行符回车".这应该是回车换行符".某种程度上,有效的ASCII电子邮件正文已被解释为小尾数UTF-16电子邮件正文.如果将这些字符拆分并反转​​,则会得到:

Each pair of hexadecimal digits represents a valid ASCII character. The fourth character is "0A0D" or "linefeed carriage-return". This should be "carriage-return linefeed". Somehow a valid ASCII email body has been interpreted as a little-endian UTF-16 email body. If you split these characters up and reverse them, you get:

<html>
  <head>
    <META http-equiv="Content-Type" content="text/html; charset=utf-16">
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Rickey Heromans Has Delivered Your Flowers Or Gift</title>
  </head>
  <body bgcolor="#ffffff">
    <table wid

我对Html的了解不会扩展到了解定义两个字符集的重要性,尽管看起来第一个字符集已被遵守.所有其他标签(html,head,meta,title,body和table)均为小写字母,因此我猜测是在某处添加了错误的<META http-equiv="Content-Type" content="text/html; charset=utf-16">.

My knowledge of Html does not extend to knowing the significance of having two charsets defined although it would appear the first has been obeyed. All the other tags (html, head, meta, title, body and table) are lower case so my guess is that the incorrect <META http-equiv="Content-Type" content="text/html; charset=utf-16"> has been added somewhere.

希望这会有所帮助.

这篇关于Outlook 2016:一些电子邮件以中文发送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆