Skip to content

Support limited UTF-8 text (whatever can be stuffed in 8 bits) and strip (invalid) BOM chars #314

@LeftWing

Description

@LeftWing

Whenever I create a PDF file from an HTML document, I get: these characters at the top of the PDF document:



I tried changing the character set, and that does affect the strange characters, but they always remain. I've tried using your example HTML as well as something as simple as:

<html><body>Test</body></html>

but the characters are always there - it doesn't matter if I use the GUI or the command. The only time they aren't there is if I use the URL (like your site), then they don't appear in the PDF.

Do you know what I'm doing wrong?

test2.pdf

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions