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

Issue when setting fallback_encoding to UTF-8 in user settings #85

Open
ghost opened this issue Dec 10, 2014 · 3 comments
Open

Issue when setting fallback_encoding to UTF-8 in user settings #85

ghost opened this issue Dec 10, 2014 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 10, 2014

I am running Sublime Text 3 build 3065 on Windows 7 64 bit.

On a project versionned by SVN, if the option :
"fallback_encoding": "UTF-8",
is set in the user preferences, modific stop working and I have this error in the console :

Exception in thread Thread-97:
Traceback (most recent call last):
  File "Modific in C:\Users\fpichon\AppData\Roaming\Sublime Text 3\Installed Packages\Modific.sublime-package", line 107, in _make_text_safeish
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 105: invalid continuation byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./threading.py", line 901, in _bootstrap_inner
  File "Modific in C:\Users\fpichon\AppData\Roaming\Sublime Text 3\Installed Packages\Modific.sublime-package", line 179, in run
  File "Modific in C:\Users\fpichon\AppData\Roaming\Sublime Text 3\Installed Packages\Modific.sublime-package", line 109, in _make_text_safeish
LookupError: unknown encoding: 
@gornostal gornostal added the bug label Dec 10, 2014
@gornostal
Copy link
Owner

I'll see what I can do.

@ghost
Copy link
Author

ghost commented Dec 10, 2014

Thanks!

@gornostal
Copy link
Owner

I took another look at this issue, but unfortunately I didn't find a fix.
The only suggestion I can give is to try to set universal_newlines to True in Modific.py on line 171.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant