Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试发送带有 pdf 附件的电子邮件时收到此错误消息。我使用 wickedpdf 来生成 pdf。我尝试在 pdf 生成中包含选项 :encoding => 'UTF-8' 但仍然没有运气。请赐教!
PDF 应以application/pdf附件形式提供,并且此附件类型不支持charset属性。显然,您将此参数传递给附件例程,而不是生成器。
application/pdf
charset