【问题标题】:Plain text automated email encoding纯文本自动电子邮件编码
【发布时间】:2011-03-31 15:52:02
【问题描述】:

已在 php 中制作了一封自动明文电子邮件,以便在注册时发送给用户。但是,签名包括一个破折号。我试过 – 8211;和 x2013; (没有空格)但这些都不起作用,只是显示代码。有什么想法吗?

【问题讨论】:

    标签: php email plaintext dashcode


    【解决方案1】:

    为你的破折号使用 unicode 等价物,必须是 \u2013 之类的东西,你不能使用 html 实体,因为你没有使用 html ...

    【讨论】:

      猜你喜欢
      • 2016-04-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-06
      • 1970-01-01
      • 2012-07-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多