Skip to content

Use utf8 when writing to stdout in latexml#920

Merged
brucemiller merged 2 commits into
brucemiller:masterfrom
dginev:utf8-on-latexml-stdout
Jan 7, 2018
Merged

Use utf8 when writing to stdout in latexml#920
brucemiller merged 2 commits into
brucemiller:masterfrom
dginev:utf8-on-latexml-stdout

Conversation

@dginev
Copy link
Copy Markdown
Collaborator

@dginev dginev commented Jan 6, 2018

Fixes #918

No rocket science here. Maybe before merging I should go through all executables in bin/ and ensure all default prints are using the utf8 encoding? cc @brucemiller

@dginev dginev assigned brucemiller and unassigned brucemiller Jan 6, 2018
@dginev dginev requested a review from brucemiller January 6, 2018 21:00
@dginev
Copy link
Copy Markdown
Collaborator Author

dginev commented Jan 7, 2018

Indeed, this issue could be seen also in latexmlpost and latexmlmath, which I hope got patched via my last commit. latexmlc was already enhanced, and also has an extra guard to not encode if the desired output is an archive file - so you can pipe through the ZIP content correctly.

Should be good to merge

@brucemiller
Copy link
Copy Markdown
Owner

Yep, this looks to be exactly what's needed; I only wonder why it wasn't there already. Sloppiness, I guess ;>

@brucemiller brucemiller merged commit 3064b94 into brucemiller:master Jan 7, 2018
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

Successfully merging this pull request may close these issues.

2 participants