Closed fobdy closed 10 years ago
I think this is related to https://github.com/gornostal/Modific/pull/48
Can you provide the steps to reproduce please?
When i open an utf-8 file (.js) with cyrillic encoding it produces the error above.
i'm having this exact problem myself too
Hi everyone, I should have addressed this issue long time ago, but the problem is I can't find a mac. I made several attempts to install OSX on VirtualBox under Ubuntu and Windows, but had no luck so far.
Just want to let you know, I'm aware of this issue and it will be fixed.
I think the problem is python 3's approach to encode != python 2s
i'm going to see if i can sort out a patch right now.
This only happens sporadically for me and committing the file fixes it.
I just opened a pull request that fixes it :)
Thanks @cartazio
@fobdy , @Rowno can you please confirm that cartazio's fix works for you?
I can't reproduce the bug (it's happens pretty randomly), so it would be difficult to tell if it works.
I ran into the bug again today. Applied the patch and it seems to have fixed it.
I managed to reduce the bug to a single whitespace Unicode character that triggers it.
Copying this into Sublime Text will cause it: /"
Here's what the Git diff looks like:
- <a href="">Financial institutions</a>
+ <a href="/financial-institutions/<U+200E>">Financial institutions</a>
Thanks a lot, @cartazio. Your fix works! I finally got chance to verify it on OS X.
WOOT
OS X 10.9 SublimeText 3 When using Modific