PDF在Azure云服务中使用Rotativa导出 - 非拉丁字符集的问题

时间:2022-12-08 21:11:02

I have an Azure Cloud Service with a Web role (ASP.NET MVC Web App) that allows downloading PDFs. The site supports many different languages across the globe. We are using Rotativa for PDF generation. It works perfectly fine for English, French, Español and many other Latin based character sets.

我有一个带有Web角色的Azure云服务(ASP.NET MVC Web App),允许下载PDF。该网站支持全球许多不同的语言。我们正在使用Rotativa生成PDF。它适用于英语,法语,西班牙语和许多其他拉丁语字符集。

But even though the website displays Chinese and Japanese character sets properly, the downloaded PDFs don't. They show up as a series of empty blocks in the PDF.

但即使网站正确显示中文和日文字符集,下载的PDF也不会。它们在PDF中显示为一系列空块。

1 个解决方案

#1


0  

Found that Rotativa by default doesn't support non UTF8 characters. I am trying to use a different PDF Generator.

发现Rotativa默认不支持非UTF8字符。我正在尝试使用不同的PDF生成器。

#1


0  

Found that Rotativa by default doesn't support non UTF8 characters. I am trying to use a different PDF Generator.

发现Rotativa默认不支持非UTF8字符。我正在尝试使用不同的PDF生成器。