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.
将 HTML 转换为 PDF 文档时,é 或 ñ 等字符将打印为问号。如何在 PDF 文档中正确显示它们?
确保将 HTML 上的编码设置为 UTF-8。它可能试图将其解释为 US-ASCII
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />