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

enscript doesn't support UTF-8 #18

Open
sascha-wolf opened this issue Sep 22, 2015 · 0 comments
Open

enscript doesn't support UTF-8 #18

sascha-wolf opened this issue Sep 22, 2015 · 0 comments

Comments

@sascha-wolf
Copy link

As the title says.

Since the plugin is heavily dependent on enscript I would like to propose a solution which won't need a huge rewrite but is more of a workaround.

When printing a file with UTF-8 encoding you could issue a warning message and offer to try to encode the file using a different encoding, for example latin1, and then proceed to print. The Sublime API offers methods to change the encoding of a file. Or, if you don't want to do that, at least show a warning if someone tries to print a UTF-8 encoded file.

Right now it just prints gibberish without any prior warning.

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

1 participant