Skip to content

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

@ghost

Description

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: 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions