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

Request for djot supporting Latin 1 if encoding isn't UTF-8 #25

Open
tbdalgaard opened this issue Jan 6, 2023 · 2 comments
Open

Request for djot supporting Latin 1 if encoding isn't UTF-8 #25

tbdalgaard opened this issue Jan 6, 2023 · 2 comments

Comments

@tbdalgaard
Copy link

I wonder if Djot can support Latin 1 as an alternative text encoding when converting between formats.
Can I do something about this myself via Pandoc, or should this be handled directly through Djot?

@jgm
Copy link
Owner

jgm commented Jan 7, 2023

You should be able to use the iconv tool to convert.

iconv -f latin1 -t utf8 myfile.dj | djot | iconv -f utf8 -t latin1

Not sure why you'd want to use latin1 these days, though.

@tbdalgaard
Copy link
Author

tbdalgaard commented Jan 7, 2023 via email

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