svenax / SublimePrint

Simple print function for Sublime Text. Handles printing current file, selection, or clipboard.
58 stars 11 forks source link

Unicode Decode Error #8

Closed supergra closed 9 years ago

supergra commented 10 years ago

I get this error when trying to print:

Traceback (most recent call last): File "/Users/ganders1/Applications/Sublime Text.app/Contents/MacOS/sublimeplugin.py", line 526, in run return self.run() File "SublimePrint in /Users/ganders1/Library/Application Support/Sublime Text 3/Installed Packages/Simple Print Function.sublime-package", line 141, in run File "SublimePrint in /Users/ganders1/Library/Application Support/Sublime Text 3/Installed Packages/Simple Print Function.sublime-package", line 103, in printer_command File "SublimePrint in /Users/ganders1/Library/Application Support/Sublime Text 3/Installed Packages/Simple Print Function.sublime-package", line 77, in get_printer File "./encodings/ascii.py", line 26, in decode UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 5: ordinal not in range(128)

I believe that this SO article may help. http://stackoverflow.com/questions/10561923/unicodedecodeerror-ascii-codec-cant-decode-byte-0xef-in-position-1