Closed stseira closed 10 years ago
I found other resolution.
except (UnicodeEncodeError, UnicodeDecodeError):
if 'Windows 1252' == fallback_encoding:
fallback_encoding = 'ISO 8859-1'
unitext = getattr(text, method)(fallback_encoding)
Hi @stseira,
If this is still the issue for you, could you please share a file that I can use for testing? Before pushing any changes to master I want to make sure the problem exists, and your solution works on all platforms.
Thanks.
Oh sorry.. I'm too late to check out your comment. I have reinstalled sublime text and modific a few days ago... (the plugin codes not changed.) but that is not issue.
anyway.. the file have issued is this one..
<?php echo 'foo'; //the file including 한국어 문자 <- that is korean alphabet
Thanks @stseira, your second code example fixed this issue for me on OS X Mavericks (was fine on 10.8 before).
@stseira can try to reproduce it again? I just pushed fix that hopefully will fix your issue too.
Please reopen if needed.
I've installed Modific to my sublime text but could not show diff on some files. So I turned debug option on, console shows the error below.
I checked out this error happened at source files contained not ascii chars. And I resolved this error changing plugins source code below
but I'm not good at python so I don't know this change will cause other side effect. plz check out this issue.