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

HTML: UTF-8 characters corrupted when printing "plain" #1096

Closed
tresf opened this issue Feb 1, 2023 · 0 comments · Fixed by #1097
Closed

HTML: UTF-8 characters corrupted when printing "plain" #1096

tresf opened this issue Feb 1, 2023 · 0 comments · Fixed by #1097
Assignees
Labels
Milestone

Comments

@tresf
Copy link
Contributor

tresf commented Feb 1, 2023

Affects versions: 2.2.2 on Windows

Steps to reproduce:

var config = qz.configs.create("Printer Name");
var data = [{
   type: 'pixel',
   format: 'html',
   flavor: 'plain',
   data: '<html><h1>MyCompany™</h1></html>'
}];
qz.print(config, data).catch(function(e) { console.error(e); });

Expected:

Actual:

Bad commit: bc9e85d (part of #978)

Workaround: Downgrade to 2.2.1 or 2.1.6.

@tresf tresf added the bug label Feb 1, 2023
@tresf tresf added this to the 2.2.3 milestone Feb 1, 2023
@tresf tresf self-assigned this Feb 1, 2023
tresf added a commit that referenced this issue Feb 1, 2023
tresf added a commit that referenced this issue Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant