如何使用 PDFKit 正确打印波浪号字符?
将 HTML 转换为 PDF 文档时,é 或 ñ 等字符将打印为问号。如何在PDF文档中正确显示它们?
When converting HTML to a PDF document characters such as é or ñ are printed as question marks. How can I display them correctly in the PDF document?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保将 HTML 的编码设置为 UTF-8。它可能试图将其解释为 US-ASCII
Make sure you are setting the encoding on your HTML to UTF-8. It is probably trying to interpret it as US-ASCII