Welcome Guest Search | Active Topics | Sign In | Register

Copy from pdf Options
raguilar
Posted: Tuesday, March 28, 2017 4:11:01 AM
Rank: Newbie
Groups: Member

Joined: 6/27/2016
Posts: 1
Hi, we're using EO.PDF library to convert an aspx page to pdf.
The final user wants to insert in a form the pdf content copying it.
We have a problem with some HTML characters as · when the user copies it from pdf and pastes it elsewhere it transforms into &#8729 and can't handle it.
Could we handle this in some way? is there any way to transform the pdf using an specific ISO? (in our case iso-8859-1)
Our aspx works in iso-8859-15 and we use the following code to convert to pdf:

Dim doc As New PdfDocument()
HtmlToPdf.ConvertUrl(strUrl, doc)

thank you!
eo_support
Posted: Tuesday, March 28, 2017 4:06:19 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

You can try to add the HTML charset meta attribute in your HTML and see if it helps:

https://www.w3schools.com/html/html_charset.asp

If that still does not help, please try to create a small test HTML file that can be used to duplicate the problem and send the HTML file to us. See here for more information on how to send test files to us:

https://www.essentialobjects.com/forum/test_project.aspx

Once we have that we will investigate further.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.