robcowie / SublimeTODO

**[DEPRECATED]** - See https://github.com/jonathandelgado/SublimeTodoReview - Extract TODO-type comments from open files and project folders
295 stars 54 forks source link

Fixing issue #13. Appeared on some locales with non-ASCII texts. #19

Closed silvasur closed 12 years ago

silvasur commented 12 years ago

Issue #13: TODO extracting doesn't work

This bug appeared, if the user uses a locale with non-ASCII characters in date / time texts. Since UTF-8 is (IMHO) the default encoding of Sublime Text 2, explicitly decoding the result as UTF-8 should now return a valid unicode string and not longer raise a UnicodeDecodeError.

robcowie commented 12 years ago

Awesome, thanks.

silvasur commented 12 years ago

You're welcome :-)