Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

how to solve chinese simply mass code #1190

Closed
xiaoquisme opened this issue Aug 15, 2017 · 1 comment
Closed

how to solve chinese simply mass code #1190

xiaoquisme opened this issue Aug 15, 2017 · 1 comment

Comments

@xiaoquisme
Copy link

I am using Microsoft.AspNetCore.NodeServices nuget package and fellowing the guide https://code.msdn.microsoft.com/How-to-export-HTML-to-PDF-c5afd0ce export html page to pdf ,then when I am using chinese simply code on the html page ,and this return me an mess code pdf file ,how to solve this ?

@SteveSandersonMS
Copy link
Member

When you save your .html (etc.) files, make sure to save them in UTF-8-with-BOM format. Otherwise the simplified Chinese characters won't necessarily be interpreted correctly.

The templates currently produce files in UTF-8-without-BOM format by default, but we're considering changing that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants