COMMUNITY: How to properly ask a question on Forums
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Sandy
1.1k
472
4.6k
Encoding issue while generating PDF with help of NRECO
Jan 12 2018 4:54 AM
I am genrateting pdf from HTML in MVC Action.
var htmlToPdf =
new
HtmlToPdfConverter();
var margins =
new
PageMargins(); ;
margins.Bottom =
this
.Bottom;
margins.Top =
this
.Top;
margins.Left =
this
.Left;
margins.Right =
this
.Right;
htmlToPdf.Margins = margins;
htmlToPdf.PageWidth =
this
.PageWidth;
htmlToPdf.PageHeight =
this
.PageHeight;
return
htmlToPdf.GeneratePdf(htmlContent, null);
i am passing "-" in html.
so my orginal string is gio n / C o u n t r y p o sitio nin g â € “ J u n e 3 0, 2 0 1 7
Region – June 30, 2017
after converting to pdf it is changed to
Region †June 30, 2017
How can i resolve this issue?
Thanks in advance
Reply
Answers (
1
)
Error CS0079 relative to delegates and events
Not Getting Data Nullable Exception
"