数据表导出带有utf-8支持的pdf [英] datatables export pdf with utf-8 support

查看:59
本文介绍了数据表导出带有utf-8支持的pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用

解决方案

请参见关于自定义字体主题的pdfmake文档。我的猜测(很难说却无法看到页面)是默认的pdfmake字体不包含这些字符。


I'm using datatables to export table as excel, pdf. Every thing works fine except this: Export pdf and the table contains non English characters (like Arabic). In this case the pdf show strange characters. So how could I fix Arabic characters problem in pdf export?

解决方案

See the pdfmake documentation on the topic of custom fonts. My guess (hard to say without being able to see the page) is that the default pdfmake font doesn't include those characters.

这篇关于数据表导出带有utf-8支持的pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆