Free Support Forum - aspose.com

Pdf utf-8 problem

hi.
i have the last version of aspose.pdf.
some files i have problem with utf-8 chars.
i get the text left to right direction. and i need to get right to left.

thank you

@eranlipi

Would you kindly share your source PDF document along with sample code snippet. We will test the scenario in our environment and address it accordingly.

this is the file
אלה טרזדרוב (1) (1).pdf (35.3 KB)

if lcase(fileType)=“pdf” then

			  Dim docHtml As New Aspose.pdf.Document(f.InputStream)
              Dim textAbsorber As New TextAbsorber()
              docHtml.Pages.Accept(textAbsorber)
              Dim extractedText As String = textAbsorber.Text
              Response.Write(extractedText)

@eranlipi

We were able to reproduce the issue using Aspose.PDF for .NET 20.1 in our environment. Therefore, we have logged this issue as PDFNET-47570 in our issue tracking system for the sake of correction. We will surely look into details of this issue and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.

thank you.
have a nice day