mfuentesg / SyncSettings

Sync Settings - The cross-platform solution to keep Sublime Text configuration synchronized
https://mfuentesg.dev/SyncSettings
MIT License
288 stars 38 forks source link

Can't edit the gist #13

Closed helinb closed 9 years ago

helinb commented 9 years ago

[10/10/2015 - 21:29:42] ERROR: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte [10/10/2015 - 21:29:44] ERROR: [Can't edit the gist] - Code 422 - Validation Failed, File: sync_settings.gistapi in /root/.config/sublime-text-3/Installed Packages/Sync Settings.sublime-package - Line: 60

mfuentesg commented 9 years ago

Thanks!

mfuentesg commented 9 years ago

This issue is caused by the file's encoding

mfuentesg commented 9 years ago

Try with

open(..., encoding='utf-8', errors='replace')