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

UnicodeDecodeError #10

Closed
fortnum opened this issue Apr 30, 2013 · 3 comments
Closed

UnicodeDecodeError #10

fortnum opened this issue Apr 30, 2013 · 3 comments

Comments

@fortnum
Copy link

fortnum commented Apr 30, 2013

Under Windows 7 64-bit I have the Packages folder under %APPDATA%. And the %APPDATA% is under the folder with my windows user account name. My user account name is in russian letters, and I suppose that is the cause of the problem I have.

Whenever I press ctrl+l or using any other valid method of running your JSLint plugin, I have an empty tool window at bottom, and the following log in Sublime Text 2 console:

Running node C:\Users{my russian-letters user folder name here}\AppData\Roaming\Sublime Text 2\Packages/JSLint/linter.js --sloppy --indent 2 --node --nomen --vars --plusplus --stupid --todo C:\Aptana Studio 3 Workspace\Hello World\test.js
Traceback (most recent call last):
File ".\sublime_plugin.py", line 337, in run_
File ".\exec.py", line 154, in run
File ".\exec.py", line 45, in init
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1351: ordinal not in range(128)

I just become acquainted with Sublime Text and Python either. Please help me to get over the problem.

PS. Just posted the same issue on Sublime Forum: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=12185

@darrenderidder
Copy link
Collaborator

I haven't tested this but from the error message this appears to be a
Sublime issue rather than a plugin issue.

@fortnum
Copy link
Author

fortnum commented May 13, 2013

The problem has been solved at Sublime Forum through two fixes to exec.py file.

@fortnum fortnum closed this as completed May 13, 2013
@darrenderidder
Copy link
Collaborator

Thanks for updating the issue.

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