以中文导出为PDF [英] Export to PDF with Chinese languages
问题描述
我有一个包含中文的表格.当我想将数据导出到PDF时会出现问题.似乎出现了一个奇怪的字符(下图)或类似的东西.谁能帮我解决问题?
I had a Grid that contain a chinese language. The problem occur when I want to export the data into PDF. It seem appear a weird characters (image below) or something like this . Can anyone help me to solve the issue?
推荐答案
使用
希望这会有所帮助. 这篇关于以中文导出为PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
<script>
kendo.pdf.defineFont({
"Arial Unicode MS" : " +your url path+ / +font folder location+ "
//eg. "Arial Unicode MS" : "myUrl/fonts/arialunicodems.ttf"
});
</script>