if b.keyword: self.outfile.write(' SHORTCUTURL="%s"' % b.keyword)
if b.icon_href:
value = b.icon_href
- if isinstance(value, unicode):
- value = value.encode('utf-8')
+ #if isinstance(value, unicode):
+ # value = value.encode('utf-8')
self.outfile.write(' ICON_URI="%s"' % value)
if b.icon: self.outfile.write(' ICON="%s"' % b.icon)
if b.charset: self.outfile.write(' LAST_CHARSET="%s"' % b.charset)
else:
parts = []
for part in title:
- if not isinstance(part, string_type):
- part = part.decode()
+ #if not isinstance(part, string_type):
+ # part = part.decode()
parts.append(part.strip())
title = ''.join(parts)