Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character references #42

Open
ringhedj opened this issue Jun 24, 2020 · 1 comment
Open

Character references #42

ringhedj opened this issue Jun 24, 2020 · 1 comment

Comments

@ringhedj
Copy link

ringhedj commented Jun 24, 2020

Seems to have an issue interpreting '&nbsp ;
Anyone have a workaround?

`
Capture
CaptureHtml

`

@maksgraczyk
Copy link

maksgraczyk commented Sep 15, 2020

I had a similar problem with Unicode characters on Windows and its cause was very subtle in my case. I fixed it by setting jna.encoding explicitly to utf8. One way to do this is running System.getProperties().setProperty("jna.encoding", "utf8"); before calling any htmltopdf code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants