dompdf:如何删除货币前面的附加符号?

发布于 2024-09-10 16:40:43 字数 237 浏览 5 评论 0原文

我在使用 dompdf 显示表格时遇到一些问题。在渲染的pdf中,我在货币£之前有一个附加符号:

http://dl. dropbox.com/u/72686/domPdfTable.png

如何从最终的 pdf 文档中删除此符号?

谢谢

I'm having some issues in displaying a table with dompdf. In the rendered pdf I have an additional symbol before the currency £:

http://dl.dropbox.com/u/72686/domPdfTable.png

how can I remove this symbol from the final pdf document ?

thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

东北女汉子 2024-09-17 16:40:43

默认情况下处理该角色的方式可能存在错误。您应该能够通过在文档标头的元标记中指定正确的字符集编码来解决该问题。

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

There might be a bug in how that character is handled by default. You should be able to address the issue by specifying the correct character set encoding in a meta tag in your document header.

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文