kakkyz81 / evervim

edit evernote on vim.
232 stars 48 forks source link

Unicode Error #19

Open killuavx opened 11 years ago

killuavx commented 11 years ago

Error detected while processing function evervim#getNote: line 9:
Traceback (most recent call last): File "", line 1, in File ".../evervim/autoload/../plugin/py/evervimmer.py", line 249, in getNote lines = [self.__changeEncodeToBuffer(line) for line in self.editor.note2buffer(note)] File ".../evervim/autoload/../plugin/py/evervim_editor.py", line 77, in note2buffer content = markdownAndENML.parseENML(ennote).encode('utf-8')
File ".../evervim/autoload/../plugin/py/markdownAndENML.py", line 108, in parseENML result += "".join([parseENML(child, level + 1, result, option) for child in node.childNodes]) File ".../evervim/autoload/../plugin/py/markdownAndENML.py", line 55, in parseENML result += '{0}'.format(htmltext, htmlhref) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

kakkyz81 commented 11 years ago

thanks for you report. I want to fix unicode encode error.