git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@344
fdd5c36f-1aea-0310-aeeb-
c58d7e2b6c23
def unquote_title(title):
if BKMK_FORMAT == "MOZILLA":
from HTMLParser import HTMLParser
- title = HTMLParser().unescape(title.replace("&", '&'))
- title = title.replace("'", "'")
+ title = HTMLParser().unescape(title.replace("&", '&').decode('utf-8'))
+ title = title.encode('utf-8').replace("'", "'")
return title