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
after converting to pdf it is changed to
How can i resolve this issue?
Thanks in advance