simplenote-vim / simplenote.vim

vim plugin to interact with the simplenote service
http://www.vim.org/scripts/script.php?script_id=3582
MIT License
368 stars 31 forks source link

Fix double encoding #42

Closed superbrothers closed 11 years ago

superbrothers commented 11 years ago

This note["tags"] has already been encoded utf-8 in Simplenote#get_note.

Error detected while processing function simplenote#SimpleNote:
line   37:
Traceback (most recent call last):
  File "<string>", line 10, in <module>
  File "<string>", line 499, in list_note_index_in_scratch_buffer
  File "<string>", line 346, in format_title
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 4: ordinal not in range(128)
mrtazz commented 11 years ago

good catch, I wonder why this didn't break before.