【问题标题】:Extra spaces in e-mail subject using chilkat使用 chilkat 的电子邮件主题中的额外空格
【发布时间】:2011-12-25 15:44:55
【问题描述】:

我们将 Chilkat 邮件用于 Visual C++ 8.0。我们在解码某些电子邮件主题中的多余空格时遇到问题。这些电子邮件中的主题几乎没有像(以下两个)这样的编码词:

=?utf-8?Q?Some text in he?=  =?utf-8?Q?re?=

根据 RFC2047,这个主题应该看起来像“Some text in here”,但 chilkat 将其解码为“Some text in he re”。解码后的主题中可以看到两个编码词之间应该忽略的空格。

如果有人知道如何解决这个问题,我将不胜感激。

【问题讨论】:

    标签: c++ email character-encoding email-headers chilkat


    【解决方案1】:

    我们通过在收到的电子邮件存储到我们的数据库之前删除?==? 标记之间的多余空格来解决问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2010-12-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-28
      • 2012-07-26
      • 1970-01-01
      相关资源
      最近更新 更多