robcowie/SublimeTODO — Issue #3: UnicodeDecodeError on non-ascii results
Author: robcowie
Created: 2011-11-26 00:28:57+00:00
State: open

When building the result output, the matched string is implicitly decoded. It fails if it cannot be decoded as ascii.

Is there a fast way of determining the encoding of a file?
If not, perhaps just try utf8, else use ST2 `fallback_encoding`