TuesPechkin adding  in front of Currency £ Symbol

625 Views Asked by At

I have been using Tues Pechkin for html to PDF Conversion But there is one issue Tues Pechkin is adding by default  this symbol in front of £ Symbol

Example :- £85,000

var document = new HtmlToPdfDocument
            {
                GlobalSettings =
    {
        ProduceOutline = true,
        DocumentTitle = "TEST",
        PaperSize = PaperKind.A4, // Implicit conversion to PechkinPaperSize
        Margins =
        {
            All = 1.375,
            Unit = Unit.Centimeters
        }
}}

Please help Thanku.

1

There are 1 best solutions below

0
On BEST ANSWER

added a new Websettings

new ObjectSettings { HtmlText = strContent,
         WebSettings = new WebSettings
                        {
                            DefaultEncoding = "UTF-8",
                            LoadImages = true,
                            PrintBackground = true
                        }
                    }

So that it can accept UTF-8 character ,And it is resolved. Thanku