mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
utf+8
This commit is contained in:
parent
597f1dc16a
commit
5032a7d507
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ class Editor(object):
|
|||
# misbehaving apps may include a null byte in the text
|
||||
txt = txt.replace("\x00", "")
|
||||
# reverse the url quoting we added to get images to display
|
||||
txt = unicode(urllib2.unquote(txt.encode("utf")), "utf8")
|
||||
txt = unicode(urllib2.unquote(txt.encode("utf8")), "utf8")
|
||||
self.note.fields[self.currentField] = txt
|
||||
self.mw.requireReset()
|
||||
if not self.addMode:
|
||||
|
|
Loading…
Reference in a new issue