You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: